notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
input: export defbind struct
[libpicofe.git]
/
common
/
input.h
diff --git
a/common/input.h
b/common/input.h
index
4f4bfbc
..
41ff876
100644
(file)
--- a/
common/input.h
+++ b/
common/input.h
@@
-87,6
+87,11
@@
typedef struct {
const char * (*get_key_name)(int keycode);
} in_drv_t;
const char * (*get_key_name)(int keycode);
} in_drv_t;
+struct in_default_bind {
+ unsigned short code;
+ unsigned char btype; /* IN_BINDTYPE_* */
+ unsigned char bit;
+};
/* to be called by drivers */
void in_register(const char *nname, int drv_id, int drv_fd_hnd, void *drv_data,
/* to be called by drivers */
void in_register(const char *nname, int drv_id, int drv_fd_hnd, void *drv_data,