2016-04-18, 08:38
Welcome everybody,
I tried to solve my problem myself using this forum, but unfortunately I need help. Let me describe my issue:
I heve bought the Mocute BT controler for my Android device with Kodi onboard.
Device works fine and has a lot of functions. It controls apps and Android desktop very well, but I have problem with Kodi. When navigating menu it skips each one menu item (horizontaly and verticaly). Becouse I have some programing skills the first thought was to check commands this controller sends to Android. I found proper app and i realized that joystick sends two commands at the same time: analog movement value and DPad button pressed command for the same direction.
Looking on this forum i found information about localization of Kodi’s xml configuration files and C++ code with gamepad parameters listed inside, and tried to modify the configuration of Kodi controller. I was thinking it will be easy to disable one of the commands (f.e. DPad conntrol buttons) but I was wrong. I tried to modify gen.xml, joystick. xml and gamepad.xml to globally turn off reaction for DPad but there is no effect .
This controller is very cheap and very popular so I’m sure that my experience will be very helpfull for other users of Kodi. I wiil share my solution of coruse, so I’ll be very greatfull if somebody gives me a hand to solve this problem.
I tried to solve my problem myself using this forum, but unfortunately I need help. Let me describe my issue:
I heve bought the Mocute BT controler for my Android device with Kodi onboard.
Device works fine and has a lot of functions. It controls apps and Android desktop very well, but I have problem with Kodi. When navigating menu it skips each one menu item (horizontaly and verticaly). Becouse I have some programing skills the first thought was to check commands this controller sends to Android. I found proper app and i realized that joystick sends two commands at the same time: analog movement value and DPad button pressed command for the same direction.
Looking on this forum i found information about localization of Kodi’s xml configuration files and C++ code with gamepad parameters listed inside, and tried to modify the configuration of Kodi controller. I was thinking it will be easy to disable one of the commands (f.e. DPad conntrol buttons) but I was wrong. I tried to modify gen.xml, joystick. xml and gamepad.xml to globally turn off reaction for DPad but there is no effect .
This controller is very cheap and very popular so I’m sure that my experience will be very helpfull for other users of Kodi. I wiil share my solution of coruse, so I’ll be very greatfull if somebody gives me a hand to solve this problem.