Searched refs:jaxis (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | controllermap.c | 232 … if ((event.jaxis.value > 20000 || event.jaxis.value < -20000) && event.jaxis.value != -32768) { in WatchJoystick() 234 if (steps[_s].axis == event.jaxis.axis) { in WatchJoystick() 239 step->axis = event.jaxis.axis; in WatchJoystick() 241 SDL_snprintf(temp, SDL_arraysize(temp), ":a%u,", event.jaxis.axis); in WatchJoystick()
|
D | testjoystick.c | 67 event.jaxis.which, in loop() 68 event.jaxis.axis, event.jaxis.value); in loop()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/ |
D | SDL_gamecontroller.c | 148 if (event->jaxis.axis >= k_nMaxReverseEntries) in SDL_GameControllerEventWatcher() 150 …SDL_GameControllerEventWatcher: Axis index %d too large, ignoring motion", (int)event->jaxis.axis); in SDL_GameControllerEventWatcher() 156 if (controllerlist->joystick->instance_id == event->jaxis.which) { in SDL_GameControllerEventWatcher() 157 …if (controllerlist->mapping.raxes[event->jaxis.axis] >= 0) /* simple axis to axis, send it through… in SDL_GameControllerEventWatcher() 158 … SDL_GameControllerAxis axis = controllerlist->mapping.raxes[event->jaxis.axis]; in SDL_GameControllerEventWatcher() 159 Sint16 value = event->jaxis.value; in SDL_GameControllerEventWatcher() 169 …} else if (controllerlist->mapping.raxesasbutton[event->jaxis.axis] >= 0) { /* simulate an axis as… in SDL_GameControllerEventWatcher() 170 …(controllerlist, controllerlist->mapping.raxesasbutton[event->jaxis.axis], ABS(event->jaxis.value)… in SDL_GameControllerEventWatcher()
|
D | SDL_joystick.c | 598 event.jaxis.which = joystick->instance_id; in SDL_PrivateJoystickAxis() 599 event.jaxis.axis = axis; in SDL_PrivateJoystickAxis() 600 event.jaxis.value = value; in SDL_PrivateJoystickAxis()
|
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_events.h | 536 SDL_JoyAxisEvent jaxis; /**< Joystick axis event data */ member
|