summaryrefslogtreecommitdiff
authorhash <hash>2002-10-31 18:18:41 (UTC)
committer hash <hash>2002-10-31 18:18:41 (UTC)
commit1004c5930b3dfdb37e4d8ea2e143b4a3d0246f7a (patch) (side-by-side diff)
tree50ca8adbad6632d8f6dbd2846b2e4cae47928b8f
parentf567e3bfc77cf2c28f0b195ed5f7a4ae5b9610d4 (diff)
downloadopie-1004c5930b3dfdb37e4d8ea2e143b4a3d0246f7a.zip
opie-1004c5930b3dfdb37e4d8ea2e143b4a3d0246f7a.tar.gz
opie-1004c5930b3dfdb37e4d8ea2e143b4a3d0246f7a.tar.bz2
added esc and F12 in default configuration
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/function_keyboard.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp
index 5f3b5ec..e7f3c21 100644
--- a/noncore/apps/opie-console/function_keyboard.cpp
+++ b/noncore/apps/opie-console/function_keyboard.cpp
@@ -14,7 +14,7 @@
#include <qdir.h>
#define DEFAULT_ROWS 2
-#define DEFAULT_COLS 11
+#define DEFAULT_COLS 12
/* FunctionKeyboard {{{1 */
@@ -240,6 +240,7 @@ void FunctionKeyboard::loadDefaults() {
keys.insert( "r0c8", FKey ("End", 0, 4113, 0));
keys.insert( "r0c9", FKey ("PU", 0, 4118, 0));
keys.insert( "r0c10", FKey ("PD", 0, 4119, 0));
+ keys.insert( "r0c11", FKey ("esc", 0, Qt::Key_Escape, 0xfff));
keys.insert( "r1c0", FKey ("F1", 0, 4144, 0));
keys.insert( "r1c1", FKey ("F2", 0, 4145, 0));
@@ -252,6 +253,7 @@ void FunctionKeyboard::loadDefaults() {
keys.insert( "r1c8", FKey ("F9", 0, 4152, 0));
keys.insert( "r1c9", FKey ("F10", 0, 4153, 0));
keys.insert( "r1c10", FKey ("F11", 0, 4154, 0));
+ keys.insert( "r1c11", FKey ("F12", 0, 4155, 0));
}