The Kodi event client for Hama MCE Remote Control resolves the following issues:
- Keyrepeat and mouse works now as expected.
- The remote registers 2 input devices, some keys register as mouse buttons, other as keyboard keys. This makes mapping in keymap.xml difficult. The attached event driver sends key and action events which are easy to map.
- Right mouse button and info key have the same keycode, but it is possible to distinguish them by counting the different number of key-up events. The attached code does this, so that we can use one key as "info" and the other as "right mouse button" (or "contextmenu").
Download the source to /usr/src/
and execute the following commands.
$ apt-get install libusb-1.0-0-dev
$ make
$ make install
$ update-rc.d kodi_hama_mce
$ update-rc.d -f kodi_hama_mce remove
$ make uninstall
The event client is based on the initial work of AaYJFG