summaryrefslogtreecommitdiffstats
path: root/x11vnc/keyboard.h
diff options
context:
space:
mode:
authorrunge <runge>2006-01-09 01:54:38 +0000
committerrunge <runge>2006-01-09 01:54:38 +0000
commit71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch)
tree67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/keyboard.h
parentdef301266373e462f4a5e90eab443087ccfc7ccc (diff)
downloadlibtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz
libtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip
x11vnc: the big split.
Diffstat (limited to 'x11vnc/keyboard.h')
-rw-r--r--x11vnc/keyboard.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11vnc/keyboard.h b/x11vnc/keyboard.h
new file mode 100644
index 0000000..aef9e43
--- /dev/null
+++ b/x11vnc/keyboard.h
@@ -0,0 +1,29 @@
+#ifndef _X11VNC_KEYBOARD_H
+#define _X11VNC_KEYBOARD_H
+
+/* -- keyboard.h -- */
+#include "allowed_input_t.h"
+
+extern void get_keystate(int *keystate);
+extern void clear_modifiers(int init);
+extern int track_mod_state(rfbKeySym keysym, rfbBool down, rfbBool set);
+extern void clear_keys(void);
+extern int get_autorepeat_state(void);
+extern int get_initial_autorepeat_state(void);
+extern void autorepeat(int restore, int bequiet);
+extern void check_add_keysyms(void);
+extern int add_keysym(KeySym keysym);
+extern void delete_added_keycodes(int bequiet);
+extern void initialize_remap(char *infile);
+extern int sloppy_key_check(int key, rfbBool down, rfbKeySym keysym, int *new);
+extern void switch_to_xkb_if_better(void);
+extern char *short_kmb(char *str);
+extern void initialize_allowed_input(void);
+extern void initialize_modtweak(void);
+extern void initialize_keyboard_and_pointer(void);
+extern void get_allowed_input(rfbClientPtr client, allowed_input_t *input);
+extern double typing_rate(double time_window, int *repeating);
+extern int skip_cr_when_scaling(char *mode);
+extern void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
+
+#endif /* _X11VNC_KEYBOARD_H */