#include <sys/keycodes.h>
#include <QDebug>
Go to the source code of this file.
◆ isKeypadKey()
bool isKeypadKey |
( |
int |
key | ) |
|
Definition at line 239 of file qbbkeytranslator.h.
Referenced by QBBScreenEventHandler::injectKeyboardEvent().
243 case KEYCODE_KP_PLUS:
244 case KEYCODE_KP_MINUS:
245 case KEYCODE_KP_MULTIPLY:
246 case KEYCODE_KP_DIVIDE:
247 case KEYCODE_KP_ENTER:
248 case KEYCODE_KP_HOME:
250 case KEYCODE_KP_PG_UP:
251 case KEYCODE_KP_LEFT:
252 case KEYCODE_KP_FIVE:
253 case KEYCODE_KP_RIGHT:
255 case KEYCODE_KP_DOWN:
256 case KEYCODE_KP_PG_DOWN:
257 case KEYCODE_KP_INSERT:
258 case KEYCODE_KP_DELETE:
◆ keyTranslator()
Definition at line 50 of file qbbkeytranslator.h.
Referenced by QBBScreenEventHandler::injectKeyboardEvent(), and QOpenKODEWindow::processKeyEvents().
56 case KEYCODE_SCROLL_LOCK:
70 case KEYCODE_BACKSPACE:
76 case KEYCODE_BACK_TAB:
82 case KEYCODE_CAPS_LOCK:
85 case KEYCODE_LEFT_SHIFT:
86 case KEYCODE_RIGHT_SHIFT:
89 case KEYCODE_LEFT_CTRL:
90 case KEYCODE_RIGHT_CTRL:
93 case KEYCODE_LEFT_ALT:
94 case KEYCODE_RIGHT_ALT:
100 case KEYCODE_LEFT_HYPER:
103 case KEYCODE_RIGHT_HYPER:
122 case KEYCODE_PG_DOWN:
138 case KEYCODE_NUM_LOCK:
141 case KEYCODE_KP_PLUS:
144 case KEYCODE_KP_MINUS:
147 case KEYCODE_KP_MULTIPLY:
150 case KEYCODE_KP_DIVIDE:
153 case KEYCODE_KP_ENTER:
156 case KEYCODE_KP_HOME:
162 case KEYCODE_KP_PG_UP:
165 case KEYCODE_KP_LEFT:
169 case KEYCODE_KP_FIVE:
172 case KEYCODE_KP_RIGHT:
178 case KEYCODE_KP_DOWN:
181 case KEYCODE_KP_PG_DOWN:
184 case KEYCODE_KP_INSERT:
187 case KEYCODE_KP_DELETE:
230 #if defined(QBBEVENTTHREAD_DEBUG) 231 qDebug() <<
"QBB: unknown key for translation:" <<
key;
Q_CORE_EXPORT void qDebug(const char *,...)