Clean-up KeyControl.cpp
This commit is contained in:
parent
6c2ca988a8
commit
57391868f9
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ long gKeyUp = KEY_UP;
|
||||||
long gKeyRight = KEY_RIGHT;
|
long gKeyRight = KEY_RIGHT;
|
||||||
long gKeyDown = KEY_DOWN;
|
long gKeyDown = KEY_DOWN;
|
||||||
|
|
||||||
void GetTrg()
|
void GetTrg(void)
|
||||||
{
|
{
|
||||||
static int key_old;
|
static int key_old;
|
||||||
gKeyTrg = gKey ^ key_old;
|
gKeyTrg = gKey ^ key_old;
|
||||||
|
|
|
@ -52,4 +52,4 @@ extern long gKeyUp;
|
||||||
extern long gKeyRight;
|
extern long gKeyRight;
|
||||||
extern long gKeyDown;
|
extern long gKeyDown;
|
||||||
|
|
||||||
void GetTrg();
|
void GetTrg(void);
|
||||||
|
|
Loading…
Add table
Reference in a new issue