Kodi Community Forum

Full Version: change volume by mouse wheel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can i change the default action of mouse wheel to changing volume?

i just downloaded and run the software but i can't find such options!
(2016-08-18, 16:44)fireheart2008 Wrote: [ -> ]can i change the default action of mouse wheel to changing volume?

i just downloaded and run the software but i can't find such options!
Have a read about keymaps in the wiki.
If you make a file called mouse.xml with the following in it then it should work.
Code:
<?xml version="1.0" encoding="UTF-8"?>

<keymap>
  <global>
    <mouse>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>      
    </mouse>
  </global>
  <SlideShow>
    <mouse>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>
    </mouse>
  </SlideShow>
</keymap>
That goes in userdata/keymaps.
Thanks man
I'll give it a try