From bb050a2d6a987202e3ec5c69903a77fc6cf79ccb Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 30 Oct 2006 23:56:26 +0000 Subject: Fixed bug where keys were read from the '5th' row as well. --- arm9/source/keyboard.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arm9/source/keyboard.c') 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; } -- cgit v1.2.3