author | hash <hash> | 2002-08-21 17:54:33 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-21 17:54:33 (UTC) |
commit | 0a61be3b42b4b152468a5ef2def4a18baeda9b4f (patch) (unidiff) | |
tree | aa82e34a4d4984ae334ffbd31582ac60a655e499 /inputmethods | |
parent | 24ca0a148bdb23f5c890661dc2edac7ba6120c67 (diff) | |
download | opie-0a61be3b42b4b152468a5ef2def4a18baeda9b4f.zip opie-0a61be3b42b4b152468a5ef2def4a18baeda9b4f.tar.gz opie-0a61be3b42b4b152468a5ef2def4a18baeda9b4f.tar.bz2 |
ctrl and alt keys should work now
-rw-r--r-- | inputmethods/multikey/configdlg.cpp | 1 | ||||
-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp index 89b713e..a9137b9 100644 --- a/inputmethods/multikey/configdlg.cpp +++ b/inputmethods/multikey/configdlg.cpp | |||
@@ -4,2 +4,3 @@ | |||
4 | * make a cursor thing | 4 | * make a cursor thing |
5 | * add meta key support for german, etc | ||
5 | * | 6 | * |
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 7334c1c..949164a 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp | |||
@@ -360,3 +360,9 @@ void Keyboard::mousePressEvent(QMouseEvent *e) | |||
360 | 360 | ||
361 | emit key(unicode, qkeycode, modifiers, true, false); | 361 | if ('A' <= unicode && unicode <= 'z' && modifiers) { |
362 | |||
363 | qkeycode = QChar(unicode).upper(); | ||
364 | unicode = qkeycode - '@'; | ||
365 | } | ||
366 | |||
367 | QWSServer::sendKeyEvent(unicode, qkeycode, modifiers, true, false); | ||
362 | 368 | ||