diff options
Diffstat (limited to 'src/pong.h')
-rw-r--r-- | src/pong.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pong.h b/src/pong.h index 310c45f..fb7cc93 100644 --- a/src/pong.h +++ b/src/pong.h @@ -23,6 +23,14 @@ #define LEFT 0 #define RIGHT 1 +/* Controller Macros */ +#define CONTROLLER_ACTIVATE 1 +#define CONTROLLER_LEFT 2 +#define CONTROLLER_RIGHT 3 +#define CONTROLLER_UP 4 +#define CONTROLLER_DOWN 5 +#define CONTROLLER_PAUSE 6 + struct Players { float Y; Rectangle HitBox; @@ -65,5 +73,6 @@ void versus_main(); void marathon_main(); void set_screen_mode(); bool pause_screen(Camera2D *MainCamera); +int player_controls(); #endif |