From 71f2ec79180185a6c3db0c87f9d53c491dc31e76 Mon Sep 17 00:00:00 2001 From: runge Date: Mon, 9 Jan 2006 01:54:38 +0000 Subject: x11vnc: the big split. --- x11vnc/keyboard.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 x11vnc/keyboard.h (limited to 'x11vnc/keyboard.h') 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 */ -- cgit v1.2.1