Here is the final (I think)version of Mouse.XML for adding functionality to a 3 button wheel mous e, for use with KODI and specifically LiveTV for IPTV.
As before:
- Middle wheel button stops channel playing, but more importantly, stops the "Working ... - Death Spin".
- You can now use the EPG Guide to peruse the channels. Your Wheel will now move channels Up/Down vertically, instead of moving the timeline horizontally.
- While in Fullscreen TV mode, a Left Click will bring up your previous channel.(only when bottom info display is not on screen)
- Right Click gets rid of the Bottom Info Display (or it times out after ~5 sec.). Another Right Click will bring up the Channel List or EPG Guide, whichever one you use.
Copy and Past the following text, into a plain text editor. Save it to your Userdata/keymap directory and name it mouse.xml (save it as plain txt format).
---------- Here is the file; ---------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- kens - version 1.02 for PVR.Stalker LiveTV functionality: -->
<!-- Button Ids: -->
<!-- 0: left (in fullscreen mode- returns to last ch.) -->
<!-- 1: right (Back/Previous Menu/or Ch.List/EPG) -->
<!-- 2: middle (Stops Ch./ Stops "Working..." "Death Spin" (wheel moves Ch. up/dn in EPG)) -->
<!-- 3/4/5/6: extra -->
<keymap>
<global>
<mouse>
<leftclick>leftclick</leftclick>
<rightclick>rightclick</rightclick>
<middleclick>Stop</middleclick>
<doubleclick id="0">doubleclick</doubleclick>
<longclick id="0">contextmenu</longclick>
<wheeldown>wheeldown</wheeldown>
<wheelup>wheelup</wheelup>
<mousedrag>mousedrag</mousedrag>
<mousemove>mousemove</mousemove>
</mouse>
</global>
<tvguide>
<mouse>
<wheelup>Up</wheelup>
<wheeldown>Down</wheeldown>
</mouse>
</tvguide>
<FullscreenLiveTV>
<mouse>
<leftclick>Number0</leftclick>
<rightclick>PreviousMenu</rightclick>
</mouse>
</FullscreenLiveTV>
</keymap>
-------end of File------dont copy this line -------------------------
Notes:
- In KODI System Settings/TV/Guide - De-Select "Hide No Info Display". This makes channels with no guide data show up in EPG.
- In KODI System Settings/Video/Playback - Select "Sync Playback to Display".
FYI- here is the approx. location you need to copy mouse.xml depending on your platform. Use a file Mgmt. program that you can see Hidden files and folders.
Android Android/data/org.xbmc.kodi/files/.kodi/userdata/keymap (see note)
iOS /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux ~/.kodi/userdata/keymap
Mac /Users/<your_user_name>/Library/Application Support/Kodi/userdata/keymap
OpenELEC /storage/.kodi/userdata/keymap
Windows c:\Users\<your_user_name>\app data\roaming\kodi\userdata\key map
Note* Android location
Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of "sdcard" so the path might be /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/keymap
If you have problems, just remove file from the directory and restart
/kens