This has been a minor annoyance for me too, so I finally started looking into a solution.
For the volume up/down and Mute key you can try this:
To map keys you can edit the
~/.config/openbox/lxde-pi-rc.xml file. In the
<keyboard>...</keyboard> section add one or more
<keybind/> XML tree fragments.
For example, to map the volume up, volume down and mute keys:
Code: Select all
<!-- Keybindings for volume control -->
<!-- Explicitly "unmute", and then raise the volume -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer set PCM unmute</command>
</action>
<action name="Execute">
<command>amixer set PCM 250+</command>
</action>
</keybind>
<!-- Explicitly "unmute", and then lower the volume -->
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer set PCM unmute</command>
</action>
<action name="Execute">
<command>amixer set PCM 250-</command>
</action>
</keybind>
<!-- Toggle unmute/unmute -->
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set PCM toggle</command>
</action>
</keybind>
I think I've learned that the ''Play/Pause'' and ''Next/Previous'' keys may be harder to map across all applications.
Dracos, has some good information on configuring the touchpad as well as nice image of the Rii keyboard with many of the keyboard scancodes listed here:
Rii i8+ touchpad config