2026-01-05 08:57:38 -05:00
|
|
|
#ifndef _GAMEPAD_H_
|
|
|
|
|
#define _GAMEPAD_H_
|
|
|
|
|
|
|
|
|
|
#include <SDL3/SDL.h>
|
2026-01-05 08:58:06 -05:00
|
|
|
#include <akerror.h>
|
2026-01-05 08:57:38 -05:00
|
|
|
|
|
|
|
|
ErrorContext ERROR_NOIGNORE *gamepad_handle_button_down(void *appstate, SDL_Event *event);
|
|
|
|
|
ErrorContext ERROR_NOIGNORE *gamepad_handle_button_up(void *appstate, SDL_Event *event);
|
|
|
|
|
ErrorContext ERROR_NOIGNORE *gamepad_handle_added(void *appstate, SDL_Event *event);
|
|
|
|
|
ErrorContext ERROR_NOIGNORE *gamepad_handle_removed(void *appstate, SDL_Event *event);
|
|
|
|
|
|
|
|
|
|
#endif // _GAMEPAD_H_
|