I control the volume only through my A/V receiver’s remote, so the Vero 4K’s remote’s volume buttons are redundant for me. I would like to use them to mark videos as watched/unwatched.
I have read up on Kodi keyboard mappings (https://kodi.wiki/view/HOW-TO:Modify_keymaps) and thought I understood it. In the debug log, I found entries like these when pressing the volume keys:
2025-02-08 08:36:43.312 T:773 debug <general>: Keyboard: scancode: 0x72, sym: 0xae, unicode: 0x00, modifier: 0x0
2025-02-08 08:36:43.312 T:773 debug <general>: HandleKey: volume_down (0xf0b8) pressed, window 10025, action is VolumeDown
2025-02-08 08:36:43.340 T:884 debug <general>: Thread Timer 3322740992 terminating
2025-02-08 08:36:43.368 T:773 debug <general>: Keyboard: scancode: 0x72, sym: 0xae, unicode: 0x00, modifier: 0x0
2025-02-08 08:36:44.931 T:787 debug <general>: CLibInputKeyboard::ProcessKey - using delay: 750ms repeat: 80ms
2025-02-08 08:36:44.931 T:885 debug <general>: Thread Timer start, auto delete: false
2025-02-08 08:36:44.949 T:773 debug <general>: Keyboard: scancode: 0x73, sym: 0xaf, unicode: 0x00, modifier: 0x0
2025-02-08 08:36:44.950 T:773 debug <general>: HandleKey: volume_up (0xf0b9) pressed, window 10025, action is VolumeUp
From this I assumed that I could create an entry in my userdata/keymaps/keyboard.xml:
<keymap>
<Videos>
<keyboard>
<volume_up>markaswatched</volume_up>
<volume_down>markasunwatched</volume_down>
</keyboard>
</Videos>
</keymap>
However, this has no effect and I don’t know why.
I also tried
<remote>
<volumedown>markasunwatched</volumedown>
<volumeup>markaswatched</volumeup>
</remote>
but this has no effect either.
What am I missing?