diff --git a/gmu/patches/002-fix-conflict-with-system-volume-control.patch b/gmu/patches/002-fix-conflict-with-system-volume-control.patch new file mode 100644 index 0000000..af87c04 --- /dev/null +++ b/gmu/patches/002-fix-conflict-with-system-volume-control.patch @@ -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 diff --git a/nanonote-files/script-files/etc/triggerhappy/triggers.d/volume.conf b/nanonote-files/script-files/etc/triggerhappy/triggers.d/volume.conf new file mode 100644 index 0000000..50ef05a --- /dev/null +++ b/nanonote-files/script-files/etc/triggerhappy/triggers.d/volume.conf @@ -0,0 +1,2 @@ +KEY_VOLUMEUP 1 /usr/bin/amixer sset PCM 5%+ +KEY_VOLUMEDOWN 1 /usr/bin/amixer sset PCM 5%-