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, 5 insertions, 0 deletions
diff --git a/source/keyboard.c b/source/keyboard.c
index 04ae120..bbc0c61 100644
--- a/source/keyboard.c
+++ b/source/keyboard.c
@@ -122,6 +122,11 @@ static SoftKey LocatePress(const touchPosition *p)
}
}
+ if (key>SK_SPACE)
+ {
+ key = NUM_SOFT_KEYS;
+ }
+
return key;
}