1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 09:41:53 +02:00

nanonote-files add system volume control thanks EdorFaus

This commit is contained in:
Xiangfu Liu 2011-08-23 10:02:53 +08:00
parent 28188074d9
commit dab010aecb
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,15 @@
diff --git a/nanonote.keymap b/nanonote.keymap
index 324ae67..d2081b0 100644
--- a/nanonote.keymap
+++ b/nanonote.keymap
@@ -11,8 +11,8 @@ Left=Left
Right=Right
Up=Up
Down=Down
-IncreaseVolume=Vol+
-DecreaseVolume=Vol-
+IncreaseVolume=Mod+Vol+
+DecreaseVolume=Mod+Vol-
ToggleTime=T
Pause=P
Stop=Mod+X

View File

@ -0,0 +1,2 @@
KEY_VOLUMEUP 1 /usr/bin/amixer sset PCM 5%+
KEY_VOLUMEDOWN 1 /usr/bin/amixer sset PCM 5%-