Add support for the zoomed state to managed windows.
[gwm.git] / keyboard.h
blobfee0573b27f8b1e04820fd6ee6ed02d02f740767
1 #ifndef KEYBOARD_H
2 #define KEYBOARD_H
4 /* Map of keysyms: first index is keycode, second index is group/modifier. */
5 extern xcb_keysym_t keyboard_map[ 0x100 ][ 4 ];
6 /* Map of modifiers, indexed by xcb_map_index_t. */
7 extern xcb_keycode_t *modifier_map[ 8 ];
9 extern const struct key_action {
10 xcb_keysym_t keysym;
11 xcb_mod_mask_t modifiers;
12 void ( *handler )( struct gwm_window *window, xcb_generic_event_t *ev,
13 union callback_param cp );
14 } key_actions[];
15 extern const int num_key_actions;
17 extern void get_keyboard_mapping( int first, int count );
18 extern void get_modifier_mapping( void );
19 #if DEBUG
20 extern void cleanup_keyboard( void );
21 #endif
23 #endif