ceckb

libcec to uinput key event mapper
git clone git://git.2f30.org/ceckb
Log | Files | Refs | README | LICENSE

config.def.h (338B)


      1 const char *upath = "/dev/uinput";
      2 
      3 struct map bindings[] = {
      4 	{ CEC_USER_CONTROL_CODE_EXIT,    KEY_Q },
      5 	{ CEC_USER_CONTROL_CODE_SELECT,  KEY_ENTER },
      6 	{ CEC_USER_CONTROL_CODE_UP,      KEY_UP },
      7 	{ CEC_USER_CONTROL_CODE_DOWN,    KEY_DOWN },
      8 	{ CEC_USER_CONTROL_CODE_LEFT,    KEY_LEFT },
      9 	{ CEC_USER_CONTROL_CODE_RIGHT,   KEY_RIGHT },
     10 };