2016-08-18, 16:44
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!
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?Have a read about keymaps in the wiki.
i just downloaded and run the software but i can't find such options!
<?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>
(2016-08-18, 16:58)trogggy Wrote:I've been fiddling with keymaps and this is an issue that's been bothering me for awhile.(2016-08-18, 16:44)fireheart2008 Wrote: can i change the default action of mouse wheel to changing volume?Have a read about keymaps in the wiki.
i just downloaded and run the software but i can't find such options!
If you make a file called mouse.xml with the following in it then it should work.
That goes in userdata/keymaps.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>
(2020-02-20, 19:09)Sp^rky Wrote:
(2020-02-20, 19:16)Sp^rky Wrote:This Mouse.xml keymap might help.(2020-02-20, 19:09)Sp^rky Wrote:
NOTE: I should have included the file....
mouse.xml in the correct directory.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Button Ids: -->
<!-- 0: left -->
<!-- 1: right -->
<!-- 2: middle -->
<!-- 3/4/5/6: extra -->
<keymap>
<global>
<mouse>
<longclick id="1">togglefullscreen</longclick>
</mouse>
</global>
<fullscreenvideo>
<mouse>
<wheeldown>VolumeDown</wheeldown>
<wheelup>VolumeUp</wheelup>
</mouse>
</fullscreenvideo>
</keymap>
NOTE2: The fullscreen toggle works fine.
The Volume down/up does NOT work at all with this.
If I change the <fullscreenvideo>/</fullscreenvideo> to <global>/</global> it DOES work but it works everywhere in KODI. Incluing main menus, option and setup screens, etc. etc.
It's not confined to only woirking when watching a show/movie or listening to music.