Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/test/
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()
Dtestjoystick.c92 event.jbutton.which, event.jbutton.button); in loop()
96 event.jbutton.which, event.jbutton.button); in loop()
Dcontrollermap.c272 if (steps[_s].button == event.jbutton.button) { in WatchJoystick()
277 step->button = event.jbutton.button; in WatchJoystick()
279 SDL_snprintf(temp, SDL_arraysize(temp), ":b%u,", event.jbutton.button); in WatchJoystick()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_gamecontroller.c183 if (event->jbutton.button >= k_nMaxReverseEntries) in SDL_GameControllerEventWatcher()
185 …meControllerEventWatcher: Button index %d too large, ignoring update", (int)event->jbutton.button); in SDL_GameControllerEventWatcher()
191 if (controllerlist->joystick->instance_id == event->jbutton.which) { in SDL_GameControllerEventWatcher()
192 … if (controllerlist->mapping.rbuttons[event->jbutton.button] >= 0) { /* simple button as button */ in SDL_GameControllerEventWatcher()
193 …tton(controllerlist, controllerlist->mapping.rbuttons[event->jbutton.button], event->jbutton.state… in SDL_GameControllerEventWatcher()
194 …} else if (controllerlist->mapping.rbuttonasaxis[event->jbutton.button] >= 0) { /* an button prete… in SDL_GameControllerEventWatcher()
195 …controllerlist, controllerlist->mapping.rbuttonasaxis[event->jbutton.button], event->jbutton.state… in SDL_GameControllerEventWatcher()
DSDL_joystick.c726 event.jbutton.which = joystick->instance_id; in SDL_PrivateJoystickButton()
727 event.jbutton.button = button; in SDL_PrivateJoystickButton()
728 event.jbutton.state = state; in SDL_PrivateJoystickButton()
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_common.c1168 event->jbutton.which, event->jbutton.button); in SDLTest_PrintEvent()
1172 event->jbutton.which, event->jbutton.button); in SDLTest_PrintEvent()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_events.h539 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */ member