|
Rabbit Remote Control 0.1.0-bate14
|


Public Member Functions | |
| KeyInjector (QObject *parent=nullptr) | |
| bool | init () |
| bool | sendKey (Qt::Key key) |
| bool | sendKeyCombo (const QList< Qt::Key > &modifiers, Qt::Key key) |
| bool | sendSuper () |
| void | cleanup () |
Private Member Functions | |
| bool | initX11 () |
| bool | initUInput () |
| void | cleanupX11 () |
| void | cleanupUInput () |
| bool | sendKeyX11 (Qt::Key key, bool press) |
| bool | sendKeyUInput (int linux_keycode, int value) |
| int | qtKeyToKeySym (Qt::Key key, bool *ok=nullptr) |
| int | qtKeyToLinuxKey (Qt::Key key, bool *ok=nullptr) |
Private Attributes | |
| bool | useX11 = false |
| bool | useUinput = false |
| void * | x11Display = nullptr |
| int | uinputFd = -1 |
Definition at line 10 of file KeyInjector.h.
|
explicit |
Definition at line 24 of file KeyInjector.cpp.
| KeyInjector::~KeyInjector | ( | ) |
Definition at line 29 of file KeyInjector.cpp.
| void KeyInjector::cleanup | ( | ) |
Definition at line 176 of file KeyInjector.cpp.
|
private |
Definition at line 165 of file KeyInjector.cpp.
|
private |
Definition at line 102 of file KeyInjector.cpp.
| bool KeyInjector::init | ( | ) |
Definition at line 34 of file KeyInjector.cpp.
|
private |
Definition at line 112 of file KeyInjector.cpp.
|
private |
Definition at line 70 of file KeyInjector.cpp.
|
private |
Definition at line 293 of file KeyInjector.cpp.
|
private |
Definition at line 333 of file KeyInjector.cpp.
| bool KeyInjector::sendKey | ( | Qt::Key | key | ) |
Definition at line 184 of file KeyInjector.cpp.
| bool KeyInjector::sendKeyCombo | ( | const QList< Qt::Key > & | modifiers, |
| Qt::Key | key ) |
Definition at line 189 of file KeyInjector.cpp.
|
private |
Definition at line 262 of file KeyInjector.cpp.
|
private |
Definition at line 236 of file KeyInjector.cpp.
| bool KeyInjector::sendSuper | ( | ) |
Definition at line 231 of file KeyInjector.cpp.
|
private |
Definition at line 50 of file KeyInjector.h.
|
private |
Definition at line 48 of file KeyInjector.h.
|
private |
Definition at line 47 of file KeyInjector.h.
|
private |
Definition at line 49 of file KeyInjector.h.