notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readpnd: teach to writepng too (todo: rename?)
[picodrive.git]
/
platform
/
common
/
input.h
diff --git
a/platform/common/input.h
b/platform/common/input.h
index
4f4bfbc
..
a64b637
100644
(file)
--- a/
platform/common/input.h
+++ b/
platform/common/input.h
@@
-1,3
+1,6
@@
+#ifndef INCLUDE_uXt8Z4R7EMpuEEtvSibXjNhKH3741VNc
+#define INCLUDE_uXt8Z4R7EMpuEEtvSibXjNhKH3741VNc 1
+
#define IN_MAX_DEVS 10
/* unified menu keys */
#define IN_MAX_DEVS 10
/* unified menu keys */
@@
-87,6
+90,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,
@@
-121,3
+129,5
@@
const char *in_get_key_name(int dev_id, int keycode);
int val_ = v; \
in_set_config(dev_id, what, &val_, sizeof(val_)); \
}
int val_ = v; \
in_set_config(dev_id, what, &val_, sizeof(val_)); \
}
+
+#endif /* INCLUDE_uXt8Z4R7EMpuEEtvSibXjNhKH3741VNc */