Tscope5
|
Go to the source code of this file.
Functions | |
Response registration | |
Joysticks can only be used as response devices. See timer.c for more information about response registration. | |
int | ts5_define_joystick_key (int device, int key) |
Definition in file joystick.c.
int ts5_define_joystick_key | ( | int | device, |
int | key | ||
) |
Define a joystick key as a response key.
device | Number of the joystick (devices are numbered from 1). |
key | Number of the key (keys are counted from 1). |
Give a positive number if you want to monitor key press events, a negative number if you want to monitor key release events.
Definition at line 32 of file joystick.c.