cocci: fix game pad event types
parent
79cca812cb
commit
330ad80014
|
@ -776,43 +776,43 @@ expression e1, e2, e3;
|
|||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERAXISMOTION
|
||||
+ SDL_GAMEPADAXISMOTION
|
||||
+ SDL_EVENT_GAMEPAD_AXIS_MOTION
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERBUTTONDOWN
|
||||
+ SDL_GAMEPADBUTTONDOWN
|
||||
+ SDL_EVENT_GAMEPAD_BUTTON_DOWN
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERBUTTONUP
|
||||
+ SDL_GAMEPADBUTTONUP
|
||||
+ SDL_EVENT_GAMEPAD_BUTTON_UP
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERDEVICEADDED
|
||||
+ SDL_GAMEPADADDED
|
||||
+ SDL_EVENT_GAMEPAD_ADDED
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERDEVICEREMAPPED
|
||||
+ SDL_GAMEPADREMAPPED
|
||||
+ SDL_EVENT_GAMEPAD_REMAPPED
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERDEVICEREMOVED
|
||||
+ SDL_GAMEPADREMOVED
|
||||
+ SDL_EVENT_GAMEPAD_REMOVED
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERSENSORUPDATE
|
||||
+ SDL_GAMEPADSENSORUPDATE
|
||||
+ SDL_EVENT_GAMEPAD_SENSOR_UPDATE
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERTOUCHPADDOWN
|
||||
+ SDL_GAMEPADTOUCHPADDOWN
|
||||
+ SDL_EVENT_GAMEPAD_TOUCHPAD_DOWN
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERTOUCHPADMOTION
|
||||
+ SDL_GAMEPADTOUCHPADMOTION
|
||||
+ SDL_EVENT_GAMEPAD_TOUCHPAD_MOTION
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLERTOUCHPADUP
|
||||
+ SDL_GAMEPADTOUCHPADUP
|
||||
+ SDL_EVENT_GAMEPAD_TOUCHPAD_UP
|
||||
@@
|
||||
typedef SDL_ControllerAxisEvent, SDL_GamepadAxisEvent;
|
||||
@@
|
||||
|
|
Loading…
Reference in New Issue