diff options
author | Roman Savochenko <roman@home.home> | 2023-11-19 17:06:47 +0200 |
---|---|---|
committer | Roman Savochenko <roman@home.home> | 2023-11-19 17:06:47 +0200 |
commit | c22796fda9743433793c8b0d19d5a20d254445fb (patch) | |
tree | c71ed147b869979ef9ad2d565440d825f44cf80d /krfb/krfb/rfbcontroller.h | |
parent | f8b3eca91d185da64eacfb901522a1fe65de1731 (diff) | |
download | tdenetwork-c22796fda9743433793c8b0d19d5a20d254445fb.tar.gz tdenetwork-c22796fda9743433793c8b0d19d5a20d254445fb.zip |
KRFB: additional keys entry with replacing old ones at achieving the limitfeat/krfb-newenterkeys
Signed-off-by: Roman Savochenko <roman@home.home>
Diffstat (limited to 'krfb/krfb/rfbcontroller.h')
-rw-r--r-- | krfb/krfb/rfbcontroller.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/krfb/krfb/rfbcontroller.h b/krfb/krfb/rfbcontroller.h index f762d2d1..6586593f 100644 --- a/krfb/krfb/rfbcontroller.h +++ b/krfb/krfb/rfbcontroller.h @@ -68,13 +68,15 @@ class KeyboardEvent : public VNCEvent { static const int RIGHTSHIFT; static const int ALTGR; static char ModifierState; + static KeySym added_keysyms[0x100]; static void tweakModifiers(signed char mod, bool down); public: static void initKeycodes(); KeyboardEvent(bool d, KeySym k); - int add_keysym( KeySym keysym ); + static int add_keysym( KeySym keysym ); + static void delete_added_keycodes( ); virtual void exec(); }; |