mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
move select from evdev to upper level
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@636 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
bfa124288c
commit
7201dc73fb
4 changed files with 112 additions and 107 deletions
|
@ -3,6 +3,7 @@
|
|||
enum {
|
||||
IN_DRVID_UNKNOWN = 0,
|
||||
IN_DRVID_EVDEV,
|
||||
IN_DRVID_GP2X,
|
||||
IN_DRVID_COUNT
|
||||
};
|
||||
|
||||
|
@ -14,6 +15,7 @@ typedef struct {
|
|||
void (*get_def_binds)(int *binds);
|
||||
int (*clean_binds)(void *drv_data, int *binds);
|
||||
void (*set_blocking)(void *data, int y);
|
||||
int (*update_keycode)(void *drv_data, int *is_down);
|
||||
int (*menu_translate)(int keycode);
|
||||
int (*get_key_code)(const char *key_name);
|
||||
const char * (*get_key_name)(int keycode);
|
||||
|
@ -21,7 +23,7 @@ typedef struct {
|
|||
|
||||
|
||||
/* to be called by drivers */
|
||||
void in_register(const char *nname, int drv_id, void *drv_data);
|
||||
void in_register(const char *nname, int drv_id, int fd_hnd, void *drv_data);
|
||||
|
||||
void in_init(void);
|
||||
void in_probe(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue