aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/KeyboardX11.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/KeyboardX11.h')
-rw-r--r--vncviewer/KeyboardX11.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/vncviewer/KeyboardX11.h b/vncviewer/KeyboardX11.h
index ba9a88f9..b3b8d0a0 100644
--- a/vncviewer/KeyboardX11.h
+++ b/vncviewer/KeyboardX11.h
@@ -27,7 +27,10 @@ public:
KeyboardX11(KeyboardHandler* handler);
virtual ~KeyboardX11();
+ bool isKeyboardReset(const void* event) override;
+
bool handleEvent(const void* event) override;
+ std::list<uint32_t> translateToKeySyms(int systemKeyCode) override;
unsigned getLEDState() override;
void setLEDState(unsigned state) override;
@@ -36,6 +39,13 @@ protected:
unsigned getModifierMask(uint32_t keysym);
private:
+ void translateToKeySyms(int systemKeyCode, unsigned char group,
+ std::list<uint32_t>* keySyms);
+ void translateToKeySyms(int systemKeyCode,
+ unsigned char group, unsigned char mods,
+ std::list<uint32_t>* keySyms);
+
+private:
int code_map_keycode_to_qnum[256];
};