diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-10-30 23:56:26 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-10-30 23:56:26 +0000 |
commit | bb050a2d6a987202e3ec5c69903a77fc6cf79ccb (patch) | |
tree | 45cbd3f9b713b553f6ba49b87ffb6a7d2c68d989 /arm9/source | |
parent | f08256be0fb69083175408e9d87173a5107c9977 (diff) |
Fixed bug where keys were read from the '5th' row as well.
Diffstat (limited to 'arm9/source')
-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; } |