notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2fd8a7
)
input: export defbind struct
author
notaz
<notasas@gmail.com>
Thu, 9 Dec 2010 15:57:13 +0000
(15:57 +0000)
committer
notaz
<notasas@gmail.com>
Thu, 9 Dec 2010 15:57:13 +0000
(15:57 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@906
be3aeb3a
-fb24-0410-a615-
afba39da0efa
platform/common/input.h
patch
|
blob
|
blame
|
history
diff --git
a/platform/common/input.h
b/platform/common/input.h
index
4f4bfbc
..
41ff876
100644
(file)
--- a/
platform/common/input.h
+++ b/
platform/common/input.h
@@
-87,6
+87,11
@@
typedef struct {
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,