Basically it's also listed here, so I don't lose the link
Now, SSH to your OpenELEC installation (you might have to enable SSH service first).The following custom keypmap will allow the mouse to operate normally with the scroll wheel seeking etc. whilst the menu is visible, but once the playback is in full screen mode, it will disable mouse movement inputs until a button is pressed, and also will allow the scroll wheel to adjust the volume up and down.
Additionally, long-clicking the left mouse-button will toggle Play/Pause, whereas long-clicking the right mouse button triggers "Stop".
Copy the following text and paste into your favorite text editor, then save as "mouse.xml"
Code: Select all
<?xml version="1.0" encoding="UTF-8"?> <keymap> <global> <mouse> <leftclick>leftclick</leftclick> <middleclick>middleclick</middleclick> <rightclick>rightclick</rightclick> <doubleclick>doubleclick</doubleclick> <wheeldown>wheeldown</wheeldown> <wheelup>wheelup</wheelup> <mousedrag>mousedrag</mousedrag> <mousemove>mousemove</mousemove> </mouse> </global> <SlideShow> <mouse> <leftclick>Pause</leftclick> <rightclick>PreviousMenu</rightclick> <wheelup>PreviousPicture</wheelup> <wheeldown>NextPicture</wheeldown> </mouse> </SlideShow> <Fullscreenvideo> <mouse> <longclick id="1">pause</longclick> <longclick id="2">stop</longclick> <wheelup>VolumeUp</wheelup> <wheeldown>VolumeDown</wheeldown> <mousemove>noop</mousemove> </mouse> </Fullscreenvideo> </keymap>
If you want that mouse mapping to be global, copy your new "mouse.xml" into ".kodi/userdata/keymaps/mouse.xml".
Works like a charm
Thanks Steptoes Yard!