After patching XBMC with the following, the Button Code is recognized:
Code:
diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp
index 3d66083..b723120 100644
--- a/xbmc/input/linux/LinuxInputDevices.cpp
+++ b/xbmc/input/linux/LinuxInputDevices.cpp
@@ -519,7 +519,7 @@ bool CLinuxInputDevice::KeyEvent(const struct input_event& levt, XBMC_Event& dev
devt.button.x = m_mouseX;
devt.button.y = m_mouseY;
- switch (levt.code)
+ switch (code)
{
case BTN_RIGHT:
devt.button.button = XBMC_BUTTON_RIGHT;Additionally I had to add this to my mouse.xml to get rid of the Message "ProcessMouse: trying mouse action mousedrag" since the touchscreen is too inaccurate, so that every click gets recognized as a drag operation.
Code:
<keymap>
<global>
<mouse>
<mousedrag>leftclick</mousedrag>
</mouse>
</global>
</keymap>Do you have any suggestion to make this better and optionally get right click working?

Search
Help