SDL API renaming: SDL_gamecontroller.h

SDL_gamecontroller.h has been renamed SDL_gamepad.h, and all APIs have been renamed to match.

Fixes https://github.com/libsdl-org/SDL/issues/6885
This commit is contained in:
Sam Lantinga 2022-12-27 09:46:24 -08:00
parent ab0c5cf07d
commit 659abc721a
73 changed files with 3890 additions and 3391 deletions

View file

@ -1,11 +1,11 @@
#!/usr/bin/env python3
#
# Script to sort the game controller database entries in SDL_gamecontroller.c
# Script to sort the game controller database entries in SDL_gamepad.c
import re
filename = "SDL_gamecontrollerdb.h"
filename = "SDL_gamepad_db.h"
input = open(filename)
output = open(f"{filename}.new", "w")
parsing_controllers = False