Searched refs:jbutton (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testhotplug.c | 132 SDL_Log("Button Press: %d\n", event.jbutton.button); in main() 137 if (event.jbutton.button == 0) { in main() 143 SDL_Log("Button Release: %d\n", event.jbutton.button); in main()
|
A D | testjoystick.c | 159 event.jbutton.which, event.jbutton.button); in loop() 161 if (event.jbutton.button == 0) { in loop() 167 event.jbutton.which, event.jbutton.button); in loop()
|
A D | controllermap.c | 519 if (event.jbutton.which == nJoystickID) { in WatchJoystick() 523 SDL_Log("BUTTON %d\n", event.jbutton.button); in WatchJoystick() 527 binding.value.button = event.jbutton.button; in WatchJoystick()
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_events.c | 256 (uint) event->jbutton.timestamp, (int) event->jbutton.which, \ in SDL_LogEvent() 257 … (uint) event->jbutton.button, event->jbutton.state == SDL_PRESSED ? "pressed" : "released") in SDL_LogEvent()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_events.h | 575 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */ member
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 1411 event->jbutton.which, event->jbutton.button); in SDLTest_PrintEvent() 1415 event->jbutton.which, event->jbutton.button); in SDLTest_PrintEvent()
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_joystick.c | 1343 event.jbutton.which = joystick->instance_id; in SDL_PrivateJoystickButton() 1344 event.jbutton.button = button; in SDL_PrivateJoystickButton() 1345 event.jbutton.state = state; in SDL_PrivateJoystickButton()
|
A D | SDL_gamecontroller.c | 396 if (controllerlist->joystick->instance_id == event->jbutton.which) { in SDL_GameControllerEventWatcher() 397 … HandleJoystickButton(controllerlist, event->jbutton.button, event->jbutton.state); in SDL_GameControllerEventWatcher()
|
Completed in 20 milliseconds