Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: Keyboard volume up working, volume down not
28th Mar, 2016, 01:02 AM
Post: #1
Keyboard volume up working, volume down not
Software
XBian version: 1.0 (knockout) (kernel: Linux 4.4.6+)
XBMC/Kodi version: 16.0 Git:2016-03-11-a3eb4fa
Overclock settings: I didn't overclock it

Hardware
Device type and model: Raspberry Pi 3
Power supply rating: 1,8 Amp
SD card size and make/type: 16 GB
Network (Ethernet or wireless): Ethernet
Connected devices (TV, USB, network storage, ...): Keyboard-> Microsoft Wireless Entertainment keyboard 700

Problem description:
Volume controls work fine in other raspberry pi systems. In XBIAN it works just "UP Volume".
Funny?

Find all posts by this user
Quote this message in a reply
28th Mar, 2016, 02:11 AM
Post: #2
RE: Keyboard volume up working, volume down not
Strange, could reproduce it with my Logitech MK250

Don't know where the culprit is, but you can solve this by providing your own keymap.

Please store this into /home/xbian/.kodi/userdata/keymaps/keyboard.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of keyboard keys to actions within Kodi.              -->
<!--                                                                                      -->
<!-- The format is:                                                                       -->
<!--  <window>                                                                            -->
<!--    <device>                                                                          -->
<!--      <button>action</button>                                                         -->
<!--    </device>                                                                         -->
<!--  </window>                                                                           -->
<!--                                                                                      -->
<!-- The <global> section is a fall through - they will only be used if the button is     -->
<!-- not used in the current window's section.                                            -->
<!--                                                                                      -->
<!-- Actions can be built-in functions.                                                   -->
<!--  eg <B>ActivateWindow(MyMusic)</B>                                                   -->
<!-- would automatically go to Music on the press of the B button.                        -->
<!--                                                                                      -->
<!--  Long presses                                                                        -->
<!--   A limitation is that if a single press is mapped in a section, a global "longpress"-->
<!--   will be ignored. The workaround is to duplicate the long mapping in the section.   -->
<!--                                                                                      -->
<!-- An empty action removes the corresponding mapping from default and parent keymaps.   -->
<!-- This is different from a "noop" action, which disables a button.                     -->
<!--                                                                                      -->
<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps          -->
<keymap>
  <global>
    <keyboard>
      <f14>VolumeDown</f14>                 <!-- Vol down -->
    </keyboard>
  </global>
</keymap>

and restart Kodi
Find all posts by this user
Quote this message in a reply
28th Mar, 2016, 02:23 AM
Post: #3
RE: Keyboard volume up working, volume down not
It works perfect.

Thank you
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 07:44 PM
Post: #4
RE: Keyboard volume up working, volume down not
Shouldn't this be implemented in the new versions of xBian?

I think it is a bug of Kodi itself. Same happens on RaspBian (although not in other distros).
Find all posts by this user
Quote this message in a reply
17th Apr, 2016, 11:02 PM
Post: #5
RE: Keyboard volume up working, volume down not
(17th Apr, 2016 07:44 PM)Peiote Wrote:  I think it is a bug of Kodi itself. Same happens on RaspBian (although not in other distros).

Agree, will have a look if I can find a solution Smile
Find all posts by this user
Quote this message in a reply
20th Nov, 2016, 04:31 AM
Post: #6
RE: Keyboard volume up working, volume down not
(17th Apr, 2016 11:02 PM)Nachteule Wrote:  
(17th Apr, 2016 07:44 PM)Peiote Wrote:  I think it is a bug of Kodi itself. Same happens on RaspBian (although not in other distros).

Agree, will have a look if I can find a solution Smile

Just in case it was an easy solution, but was forgot ;p
I've tried recently the keyboard again, surprisingly still not working. Is it more difficult than supposed? In this case, no problem, I'll keep using Function keys.

Best regards.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] MCE IR Controller "Cypress USB Keyboard" not working equildi 3 6,543 17th Mar, 2013 04:25 AM
Last Post: CurlyMo

Forum Jump: