diff options
Diffstat (limited to 'arm9/source/keyboard.c')
-rw-r--r-- | arm9/source/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/source/keyboard.c b/arm9/source/keyboard.c index 04ae120..bbc0c61 100644 --- a/arm9/source/keyboard.c +++ b/arm9/source/keyboard.c @@ -122,6 +122,11 @@ static SoftKey LocatePress(const touchPosition *p) } } + if (key>SK_SPACE) + { + key = NUM_SOFT_KEYS; + } + return key; } |