SDL: cocci: fix game pad event types

From 330ad800143e26fdeda2a5fe52689920c560d019 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 25 Jan 2023 22:02:31 +0100
Subject: [PATCH] cocci: fix game pad event types

---
 build-scripts/SDL_migration.cocci | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci
index b5d19dbdceb5..5ffb57ac345e 100644
--- a/build-scripts/SDL_migration.cocci
+++ b/build-scripts/SDL_migration.cocci
@@ -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;
 @@