Make sure we set hotkeys when bluetooth controllers are connected.
This commit is contained in:
parent
877f8d31ac
commit
b01c9a00c1
2 changed files with 2 additions and 1 deletions
|
@ -22,8 +22,8 @@ fi
|
||||||
### Set the default device configuration
|
### Set the default device configuration
|
||||||
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
||||||
DEVICE_BASE_TDP="15w"
|
DEVICE_BASE_TDP="15w"
|
||||||
|
DEVICE_VOLUMECTL=true
|
||||||
DEVICE_LED_CONTROL=false
|
DEVICE_LED_CONTROL=false
|
||||||
DEVICE_VOLUMECTL=false
|
|
||||||
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
||||||
DEVICE_PLAYBACK_PATH_HP="HP"
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
||||||
DEVICE_FUNC_KEYA_MODIFIER="KEY_LEFTCTRL"
|
DEVICE_FUNC_KEYA_MODIFIER="KEY_LEFTCTRL"
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
|
|
||||||
ACTION=="add|change", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
|
ACTION=="add|change", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
|
||||||
ACTION=="remove", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
|
ACTION=="remove", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
|
||||||
|
ACTION=="add|change", KERNEL=="hci*", RUN+="/usr/bin/killall volume_sense"
|
||||||
|
|
Loading…
Reference in a new issue