Joystick position: Difference between revisions

Content added Content deleted
(promoted to task)
(on systems with more than one joystick, assume the first joystick)
Line 6: Line 6:
a terminal, and move the plus symbol position according to the joystick. The bottom part of the display can hide or show an alphanumeric sequence to represent the buttons pressed. For example, if pushbuttons 1,4 and 10 are depressed, we could display "1 4 A". The implemented code should continue to redraw the crosshair according to the joystick position and show the current pushbutton statuses until the task is terminated.
a terminal, and move the plus symbol position according to the joystick. The bottom part of the display can hide or show an alphanumeric sequence to represent the buttons pressed. For example, if pushbuttons 1,4 and 10 are depressed, we could display "1 4 A". The implemented code should continue to redraw the crosshair according to the joystick position and show the current pushbutton statuses until the task is terminated.


We assume that the joystick is calibrated for the purpose of this task.
We assume that the joystick is calibrated for the purpose of this task. For the purpose of this task on systems with more than one joystick, we assume that the first joystick is being used.


[[Category:Joystick]]
[[Category:Joystick]]