A car entertainment system can only be controlled by a remote controller. The remote controller has up/down buttons for scrolling media files. The functionalities of these buttons are given below
a. If the user releases the up or down button 1500 ms after (before 2000 ms) pressing it, the selection goes up or down respectively.
b. if the user presses and holds the buttons longer than 2000ms, the list items will be scrolled at 3 lines/sec
c. if the user presses and holds the buttons longer than 3000ms, the list items will be scrolled at 5 lines/sec
d. if the user presses and holds the buttons longer than 5000ms, the list items will be scrolled at 8 lines/sec
Is there any design patterns or design methodology available to handle this?