So pretty happy with my old Harmony 550 remote, even though I have never been able to get the MCE keyboard or mouse stuff to work. Had been using Flix2Kodi to watch Netflix but it is broke again and forced to go through Chrome Launcher. This creates the issue of using a mouse. My current situation uses Droid Mouse on my phone but would like something on my remote. I have been able to map keyboard presses to mouse actions through xbindkeys and xdotool but cannot seem to figure out how to make my arrow and ok key on my remote function as keyboard presses for this to work.
My xbindkeysrc
"xdotool mousemove_relative --sync -- 0 -100"
Mod2+Up
"xdotool mousemove_relative --sync -- 0 +100"
Mod2+Down
"xdotool mousemove_relative --sync -- -100 0"
Mod2+Left
"xdotool mousemove_relative --sync -- 100 0"
Mod2+Right
"sleep 1 && xdotool click 1"
Return
My chrome launcher script:
#!/bin/bash
openbox &
xbindkeys -p &
/usr/bin/google-chrome "$@"
killall xbindkeys
kill %1