Home
last modified time | relevance | path

Searched refs:jbutton (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtesthotplug.c132 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 Dtestjoystick.c159 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 Dcontrollermap.c519 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 DSDL_events.c256 (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 DSDL_events.h575 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */ member
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c1411 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 DSDL_joystick.c1343 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 DSDL_gamecontroller.c396 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