aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/KeyboardX11.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/KeyboardX11.h')
-rw-r--r--vncviewer/KeyboardX11.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vncviewer/KeyboardX11.h b/vncviewer/KeyboardX11.h
index a4cbea04..b3b8d0a0 100644
--- a/vncviewer/KeyboardX11.h
+++ b/vncviewer/KeyboardX11.h
@@ -30,6 +30,7 @@ public:
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;
@@ -38,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];
};