Make sure we set hotkeys when bluetooth controllers are connected.

This commit is contained in:
fewtarius 2023-08-06 13:24:47 +00:00
parent 877f8d31ac
commit b01c9a00c1
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 2 additions and 1 deletions

View file

@ -22,8 +22,8 @@ fi
### Set the default device configuration
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_BASE_TDP="15w"
DEVICE_VOLUMECTL=true
DEVICE_LED_CONTROL=false
DEVICE_VOLUMECTL=false
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_FUNC_KEYA_MODIFIER="KEY_LEFTCTRL"

View file

@ -4,3 +4,4 @@
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=="add|change", KERNEL=="hci*", RUN+="/usr/bin/killall volume_sense"