input: export defbind struct
authornotaz <notasas@gmail.com>
Thu, 9 Dec 2010 15:57:13 +0000 (15:57 +0000)
committernotaz <notasas@gmail.com>
Thu, 9 Dec 2010 15:57:13 +0000 (15:57 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@906 be3aeb3a-fb24-0410-a615-afba39da0efa

common/input.h

index 4f4bfbc..41ff876 100644 (file)
@@ -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,