Searched refs:MAX_JOYSTICK_BUTTONS (Results 1 – 15 of 15) sorted by relevance
33 #ifndef MAX_JOYSTICK_BUTTONS34 #define MAX_JOYSTICK_BUTTONS 100 macro58 int joy_newb[MAX_JOYSTICK_BUTTONS];61 int joy_oldb[MAX_JOYSTICK_BUTTONS];
63 int joy_oldb[MAX_JOYSTICK_BUTTONS];
35 #define MAX_JOYSTICK_BUTTONS 32 macro72 JOYSTICK_BUTTON_INFO button[MAX_JOYSTICK_BUTTONS];
148 int button[MAX_JOYSTICK_BUTTONS]; \149 char *button_name[MAX_JOYSTICK_BUTTONS];
53 … HID_MAX_DEVICE_ELEMENTS ((MAX_JOYSTICK_AXIS * MAX_JOYSTICK_STICKS) + MAX_JOYSTICK_BUTTONS)
214 if (nbuttons > MAX_JOYSTICK_BUTTONS) nbuttons = MAX_JOYSTICK_BUTTONS; in postinit()216 unsigned int nbuttons = MAX_JOYSTICK_BUTTONS; in postinit()407 for (int j = 0; j < MAX_JOYSTICK_BUTTONS; j++) { in updateJoystick()
57 static const int MAX_JOYSTICK_BUTTONS = 32; member in FGJoystickInput
17 #define MAX_JOYSTICK_BUTTONS 512 macro73 if (0 <= buttonId && buttonId < MAX_JOYSTICK_BUTTONS) in Initialize()
103 if (num_buttons > MAX_JOYSTICK_BUTTONS) in joy_init()104 num_buttons = MAX_JOYSTICK_BUTTONS; in joy_init()
69 … HID_MAX_DEVICE_ELEMENTS ((MAX_JOYSTICK_AXIS * MAX_JOYSTICK_STICKS) + MAX_JOYSTICK_BUTTONS)
186 win32_joystick[n_joy].num_buttons = MIN(caps.wNumButtons, MAX_JOYSTICK_BUTTONS); in joystick_win32_init()
45 static char *name_b[MAX_JOYSTICK_BUTTONS] = {
312 if (joy->num_buttons == MAX_JOYSTICK_BUTTONS-1) { in object_enum_callback()
537 if (joy[i].num_buttons > MAX_JOYSTICK_BUTTONS) in grip_init()538 joy[i].num_buttons = MAX_JOYSTICK_BUTTONS; in grip_init()
77 if (element->index >= MAX_JOYSTICK_BUTTONS || element->app>=MAX_JOYSTICKS) {