summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-03-12 01:10:48 +0000
committersabetts <sabetts>2001-03-12 01:10:48 +0000
commit63e226ae9eec6ca3cdaa5bfdc530d51121594a93 (patch)
tree8eacee028d2f7ae5143440c41e7cfcc3d239c247 /src/input.h
parent0f1f9aa36796a34d01fb101c5ff5f0875104689e (diff)
downloadratpoison-63e226ae9eec6ca3cdaa5bfdc530d51121594a93.zip
merged rel-0-1-0 branch
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input.h b/src/input.h
index 3a21471..e26f46f 100644
--- a/src/input.h
+++ b/src/input.h
@@ -23,9 +23,10 @@
#define _RATPOISON_INPUT_H 1
char *keysym_to_string (KeySym keysym, unsigned int modifier);
-void cook_keycode (KeyCode keycode, KeySym *keysym, unsigned int *mod);
+int cook_keycode (XKeyEvent *ev, KeySym *keysym, unsigned int *mod, char *keysym_name, int len);
char *get_input (char *prompt);
char *get_more_input (char *prompt, char *preinput);
-void read_key (KeySym *keysym, unsigned int *mode);
+int read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int len);
+void init_modifier_map ();
#endif /* ! _RATPOISON_INPUT_H */