diff --git a/sc2/src/sc2code/libs/input/sdl/input.c b/sc2/src/sc2code/libs/input/sdl/input.c index 17569e6d4..08776e008 100644 --- a/sc2/src/sc2code/libs/input/sdl/input.c +++ b/sc2/src/sc2code/libs/input/sdl/input.c @@ -27,13 +27,13 @@ Uint8 KeyboardDown[512]; int kbdhead, kbdtail; Uint16 kbdbuf[KBDBUFSIZE]; -UBYTE ControlA; -UBYTE ControlB; -UBYTE ControlC; -UBYTE ControlX; -UBYTE ControlStart; -UBYTE ControlLeftShift; -UBYTE ControlRightShift; +SDLKey ControlA; +SDLKey ControlB; +SDLKey ControlC; +SDLKey ControlX; +SDLKey ControlStart; +SDLKey ControlLeftShift; +SDLKey ControlRightShift; static UNICODE PauseKey; diff --git a/sc2/src/sc2code/libs/input/sdl/input.h b/sc2/src/sc2code/libs/input/sdl/input.h index 40ffcea5b..74bf8c00a 100644 --- a/sc2/src/sc2code/libs/input/sdl/input.h +++ b/sc2/src/sc2code/libs/input/sdl/input.h @@ -21,13 +21,13 @@ extern Uint8 KeyboardDown[512]; -extern UBYTE ControlA; -extern UBYTE ControlB; -extern UBYTE ControlC; -extern UBYTE ControlX; -extern UBYTE ControlStart; -extern UBYTE ControlLeftShift; -extern UBYTE ControlRightShift; +extern SDLKey ControlA; +extern SDLKey ControlB; +extern SDLKey ControlC; +extern SDLKey ControlX; +extern SDLKey ControlStart; +extern SDLKey ControlLeftShift; +extern SDLKey ControlRightShift; Uint16 GetUNICODEKey (); void FlushInput ();