author | hash <hash> | 2002-10-13 01:56:34 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-13 01:56:34 (UTC) |
commit | 173c272fa2dc860dbb2ff54b6be2680c544340bb (patch) (unidiff) | |
tree | 345b83e9f72d9c0d2ec9e1f6d9c75576eef0ac2d | |
parent | 7d5d4758d459b744be27e5fbd8b9a2735d7c13f4 (diff) | |
download | opie-173c272fa2dc860dbb2ff54b6be2680c544340bb.zip opie-173c272fa2dc860dbb2ff54b6be2680c544340bb.tar.gz opie-173c272fa2dc860dbb2ff54b6be2680c544340bb.tar.bz2 |
better disable that for now
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp index 9b036f3..d8ade69 100644 --- a/noncore/apps/opie-console/function_keyboard.cpp +++ b/noncore/apps/opie-console/function_keyboard.cpp | |||
@@ -91,25 +91,25 @@ void FunctionKeyboard::paintKey(int row, int col) { | |||
91 | 91 | ||
92 | void FunctionKeyboard::mousePressEvent(QMouseEvent *e) { | 92 | void FunctionKeyboard::mousePressEvent(QMouseEvent *e) { |
93 | 93 | ||
94 | pressedRow = e->y() / keyHeight; | 94 | pressedRow = e->y() / keyHeight; |
95 | pressedCol = e->x() / keyWidth; | 95 | pressedCol = e->x() / keyWidth; |
96 | 96 | ||
97 | paintKey(pressedRow, pressedCol); | 97 | paintKey(pressedRow, pressedCol); |
98 | 98 | ||
99 | // emit that sucker! | 99 | // emit that sucker! |
100 | FKey k = keys["r" + QString::number(pressedRow) + "c" + QString::number(pressedCol)]; | 100 | FKey k = keys["r" + QString::number(pressedRow) + "c" + QString::number(pressedCol)]; |
101 | //QWSServer::sendKeyEvent(k.getU(), k.getQ(), 0, 1, 0); | 101 | //QWSServer::sendKeyEvent(k.getU(), k.getQ(), 0, 1, 0); |
102 | //qwsServer->sendKeyEvent(k.getU(), k.getQ(), 0, 1, 0); | 102 | //qwsServer->sendKeyEvent(k.getU(), k.getQ(), 0, 1, 0); |
103 | qwsServer->sendKeyEvent(0x41, 0, 0, 1, 0); | 103 | //qwsServer->sendKeyEvent(0x41, 0, 0, 1, 0); |
104 | } | 104 | } |
105 | 105 | ||
106 | void FunctionKeyboard::mouseReleaseEvent(QMouseEvent *) { | 106 | void FunctionKeyboard::mouseReleaseEvent(QMouseEvent *) { |
107 | 107 | ||
108 | if (pressedRow != -1 && pressedRow != -1) { | 108 | if (pressedRow != -1 && pressedRow != -1) { |
109 | 109 | ||
110 | int row = pressedRow; pressedRow = -1; | 110 | int row = pressedRow; pressedRow = -1; |
111 | int col = pressedCol; pressedCol = -1; | 111 | int col = pressedCol; pressedCol = -1; |
112 | paintKey(row, col); | 112 | paintKey(row, col); |
113 | 113 | ||
114 | FKey k = keys["r" + QString::number(row) + "c" + QString::number(col)]; | 114 | FKey k = keys["r" + QString::number(row) + "c" + QString::number(col)]; |
115 | //QWSServer::sendKeyEvent(k.getU(), k.getQ(), 0, 0, 0); | 115 | //QWSServer::sendKeyEvent(k.getU(), k.getQ(), 0, 0, 0); |