more input wip
[libpicofe.git] / common / input.h
1 enum {
2         IN_DRVID_EVDEV = 1,
3 };
4
5 /* to be called by drivers */
6 void in_register(const char *nname, int drv_id, void *drv_data);
7
8 void in_init(void);
9 void in_probe(void);
10 int  in_update(void);
11 void in_set_blocking(int is_blocking);
12 int  in_update_keycode(int *dev_id, int *is_down);
13 int  in_update_menu(void);
14 const char *in_get_key_name(int dev_id, int keycode);