Problem: Waveshare5/Sainsmart 7" HDMI with GPIO touch
|
1st Nov, 2016, 01:59 PM
Post: #17
|
|||
|
|||
RE: Waveshare5/Sainsmart 7" HDMI with GPIO touch
Alright, so far, what I've done:
Updated to kodi v17 via the devel repo. Edited advanced settings: sudo nano /home/xbian/.kodi/userdata/advancedsettings.xml I copied this text: <touchscreen> <x_offset>-32</x_offset> <!-- cursor pixel x offset --> <y_offset>-35</y_offset> <!-- cursor pixel y offset --> <x_stretch_factor>0.209</x_stretch_factor> <!-- stretch factor --> <y_stretch_factor>0.131</y_stretch_factor> <!-- stretch factor --> </touchscreen> Into that file, and saved it. I then opened the /usr/local/share/kodi/system/keymaps/mouse.xml file, And copied the text: <mouse> <leftclick>leftclick</leftclick> <rightclick>rightclick</rightclick> <middleclick>middleclick</middleclick> <doubleclick id="0">noop</doubleclick> <longclick id="0">contextmenu</longclick> <wheeldown>wheeldown</wheeldown> <wheelup>wheelup</wheelup> <mousedrag>mousedrag</mousedrag> <mousedragend>leftclick</mousedragend> <mousemove>noop</mousemove> </mouse> Into it. Saved, exited, rebooted. No dice. The mouse now doesn't work AT ALL. Before I edited the mouse.xml file, I could get some kind of control from the upper left of the screen....now, nothing. I may have completely messed up my mouse.xml file....how do I get the original back?! |
|||
« Next Oldest | Next Newest »
|