summaryrefslogtreecommitdiff
path: root/source/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/keyboard.c')
-rw-r--r--source/keyboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/keyboard.c b/source/keyboard.c
index bbc0c61..76f16e6 100644
--- a/source/keyboard.c
+++ b/source/keyboard.c
@@ -21,6 +21,9 @@
*/
#include <nds.h>
+
+#include "ds81_global.h"
+
#include "keyboard.h"
#include "framebuffer.h"
#include "keyb_bin.h"
@@ -143,8 +146,6 @@ static int GetEvent(SoftKeyEvent *ev, int map)
int f;
uint32 keys;
- scanKeys();
-
keys = keysHeld();
/* Clear the non-sticky keys