|
SDL
2.0
|
Functions | |
| def | save_controller (line) |
| def | write_controllers () |
Variables | |
| string | filename = "SDL_gamecontrollerdb.h" |
| tuple | input = open(filename) |
| tuple | output = open(filename + ".new", "w") |
| parsing_controllers = False | |
| list | controllers = [] |
| dictionary | controller_guids = {} |
| tuple | split_pattern = re.compile(r'([^"]*")([^,]*,)([^,]*,)([^"]*)(".*)') |
| def sort_controllers.save_controller | ( | line | ) |
| def sort_controllers.write_controllers | ( | ) |
Definition at line 27 of file sort_controllers.py.
References save_controller().
| dictionary sort_controllers.controller_guids = {} |
Definition at line 13 of file sort_controllers.py.
| list sort_controllers.controllers = [] |
Definition at line 12 of file sort_controllers.py.
Referenced by SDL_GameControllerAddMappingsFromRW(), SDL_SYS_JoystickInit(), and SDL_SYS_MFIJoystickUpdate().
| string sort_controllers.filename = "SDL_gamecontrollerdb.h" |
Definition at line 8 of file sort_controllers.py.
Referenced by main().
| tuple sort_controllers.input = open(filename) |
Definition at line 9 of file sort_controllers.py.
Definition at line 10 of file sort_controllers.py.
Referenced by SDL_LogOutput().
| sort_controllers.parsing_controllers = False |
Definition at line 11 of file sort_controllers.py.
| tuple sort_controllers.split_pattern = re.compile(r'([^"]*")([^,]*,)([^,]*,)([^"]*)(".*)') |
Definition at line 14 of file sort_controllers.py.