summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.h
authorhash <hash>2002-08-22 05:50:34 (UTC)
committer hash <hash>2002-08-22 05:50:34 (UTC)
commit4c02921ddab3dd8b48d7d54a0c09e8f4ca71efb3 (patch) (unidiff)
treeaeada387b0a02e5cbdb409309a47a36649938b95 /inputmethods/multikey/keyboard.h
parentea0d66f137984689c4d4ef6da7dd4b7323760e8c (diff)
downloadopie-4c02921ddab3dd8b48d7d54a0c09e8f4ca71efb3.zip
opie-4c02921ddab3dd8b48d7d54a0c09e8f4ca71efb3.tar.gz
opie-4c02921ddab3dd8b48d7d54a0c09e8f4ca71efb3.tar.bz2
added meta key support for maps like german and jumpx
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index dc50e55..b692975 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -62,6 +62,7 @@ public:
62 bool pressed(const int row, const int col); 62 bool pressed(const int row, const int col);
63 bool *pressedPtr(const int row, const int col); 63 bool *pressedPtr(const int row, const int col);
64 ushort shift(const ushort); 64 ushort shift(const ushort);
65 ushort meta(const ushort);
65 QPixmap *pix(const int row, const int col); 66 QPixmap *pix(const int row, const int col);
66 int numKeys(const int row); 67 int numKeys(const int row);
67 void setKeysFromFile(const char *filename); 68 void setKeysFromFile(const char *filename);
@@ -85,6 +86,7 @@ private:
85 86
86 QList<Key> keys[6]; 87 QList<Key> keys[6];
87 QMap<ushort,ushort> shiftMap; 88 QMap<ushort,ushort> shiftMap;
89 QMap<ushort,ushort> metaMap;
88 90
89}; 91};
90 92
@@ -127,6 +129,7 @@ private:
127 bool *lock; 129 bool *lock;
128 bool *ctrl; 130 bool *ctrl;
129 bool *alt; 131 bool *alt;
132 bool *meta;
130 uint useLargeKeys:1; 133 uint useLargeKeys:1;
131 uint usePicks:1; 134 uint usePicks:1;
132 uint useRepeat:1; 135 uint useRepeat:1;