|
|
@ -73,6 +73,7 @@ void x11SendKey(Display *display, int keyCode, int modifiers) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
void traceKeyCodes() |
|
|
|
void traceKeyCodes() |
|
|
|
{ |
|
|
|
{ |
|
|
|
Display *display = XOpenDisplay(0); |
|
|
|
Display *display = XOpenDisplay(0); |
|
|
@ -102,6 +103,7 @@ void traceKeyCodes() |
|
|
|
|
|
|
|
|
|
|
|
XCloseDisplay(display); |
|
|
|
XCloseDisplay(display); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UBKeyboardButton::sendUnicodeSymbol(KEYCODE keycode) |
|
|
|
void UBKeyboardButton::sendUnicodeSymbol(KEYCODE keycode) |
|
|
@ -184,16 +186,8 @@ void UBKeyboardPalette::onActivated(bool activated) |
|
|
|
|
|
|
|
|
|
|
|
XCloseDisplay(display); |
|
|
|
XCloseDisplay(display); |
|
|
|
|
|
|
|
|
|
|
|
qDebug() << "------------ ORIGINAL --------------------------------------------------"; |
|
|
|
|
|
|
|
traceKeyCodes(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onLocaleChanged(locales[nCurrentLocale]); |
|
|
|
onLocaleChanged(locales[nCurrentLocale]); |
|
|
|
|
|
|
|
|
|
|
|
qDebug() << "------------ CUSTOM ------------------------------------------------"; |
|
|
|
|
|
|
|
traceKeyCodes(); |
|
|
|
|
|
|
|
qDebug() << "----------------------------------------------------------------------"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|