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
{
11 xcb_mod_mask_t modifiers
;
12 void ( *handler
)( struct gwm_window
*window
, xcb_generic_event_t
*ev
,
13 union callback_param cp
);
15 extern const int num_key_actions
;
17 extern void get_keyboard_mapping( int first
, int count
);
18 extern void get_modifier_mapping( void );
20 extern void cleanup_keyboard( void );