forked from batocera-linux/batocera.linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request batocera-linux#12683 from batocera-linux/hotkeygen…
…commands hotkeygen: add command keys. still need a way to add custom commands …
- Loading branch information
Showing
13 changed files
with
57 additions
and
83 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
package/batocera/core/batocera-triggerhappy/conf/multimedia_keys.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
KEY_VOLUMEUP 1 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEUP 2 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEDOWN 1 batocera-audio setSystemVolume -5 | ||
KEY_VOLUMEDOWN 2 batocera-audio setSystemVolume -5 | ||
KEY_MUTE 1 batocera-audio setSystemVolume mute-toggle | ||
KEY_POWER 1 batocera-shutdown 1 | ||
KEY_POWER 0 batocera-shutdown 0 | ||
# display some information on X displays | ||
KEY_F2 1 /usr/bin/batocera-info --short | LANG=en_US HOME=/userdata/system XAUTHORITY=/var/lib/.Xauthority DISPLAY=:0.0 osd_cat -f -*-*-bold-*-*-*-38-120-*-*-*-*-*-* -cred -s 3 -d 4 | ||
KEY_F10+KEY_LEFTCTRL+KEY_LEFTALT 1 /etc/init.d/S31emulationstation stop | ||
KEY_F11+KEY_LEFTCTRL+KEY_LEFTALT 1 chvt 1 | ||
KEY_LEFTMETA 1 batocera-brightness cycle | ||
KEY_SYSRQ 1 batocera-screenshot |
5 changes: 0 additions & 5 deletions
5
...e/batocera/core/batocera-triggerhappy/conf/rk3128/multimedia_keys_GameSimulatorBoard.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
package/batocera/core/batocera-triggerhappy/conf/rk3326/multimedia_keys_AnbernicRG351M.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
package/batocera/core/batocera-triggerhappy/conf/rk3326/multimedia_keys_AnbernicRG351P.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
.../batocera/core/batocera-triggerhappy/conf/rk3326/multimedia_keys_HardkernelODROIDGO3.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
package/batocera/core/batocera-triggerhappy/conf/rk3326/multimedia_keys_ODROIDGOSuper.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
package/batocera/core/batocera-triggerhappy/conf/rk3399/multimedia_keys.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
package/batocera/core/batocera-triggerhappy/conf/x86_64/multimedia_keys_AYANEO2.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
KEY_VOLUMEUP 1 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEUP 2 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEDOWN 1 batocera-audio setSystemVolume -5 | ||
KEY_VOLUMEDOWN 2 batocera-audio setSystemVolume -5 | ||
KEY_MUTE 1 batocera-audio setSystemVolume mute-toggle | ||
KEY_POWER 1 batocera-shutdown 1 | ||
KEY_POWER 0 batocera-shutdown 0 | ||
# display some information on X displays | ||
KEY_RIGHTCTRL 1 /usr/bin/batocera-info --short | LANG=en_US HOME=/userdata/system XAUTHORITY=/var/lib/.Xauthority DISPLAY=:0.0 osd_cat -f -*-*-bold-*-*-*-38-120-*-*-*-*-*-* -cred -s 3 -d 4 | ||
KEY_F10+KEY_LEFTCTRL+KEY_LEFTALT 1 /etc/init.d/S31emulationstation stop | ||
KEY_F11+KEY_LEFTCTRL+KEY_LEFTALT 1 chvt 1 | ||
KEY_LEFTMETA 1 batocera-brightness cycle | ||
KEY_SYSRQ 1 batocera-screenshot |
6 changes: 0 additions & 6 deletions
6
package/batocera/core/batocera-triggerhappy/conf/x86_64/multimedia_keys_Jupiter.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
KEY_VOLUMEUP 1 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEUP 2 batocera-audio setSystemVolume +5 | ||
KEY_VOLUMEDOWN 1 batocera-audio setSystemVolume -5 | ||
KEY_VOLUMEDOWN 2 batocera-audio setSystemVolume -5 | ||
KEY_MUTE 1 batocera-audio setSystemVolume mute-toggle | ||
KEY_POWER 1 batocera-shutdown 1 | ||
KEY_POWER 0 batocera-shutdown 0 | ||
# display some information on X displays | ||
KEY_F2 1 /usr/bin/batocera-info --short | LANG=en_US HOME=/userdata/system XAUTHORITY=/var/lib/.Xauthority DISPLAY=:0.0 osd_cat -f -*-*-bold-*-*-*-38-120-*-*-*-*-*-* -cred -s 3 -d 4 | ||
KEY_F10+KEY_LEFTCTRL+KEY_LEFTALT 1 /etc/init.d/S31emulationstation stop | ||
KEY_F11+KEY_LEFTCTRL+KEY_LEFTALT 1 chvt 1 | ||
KEY_LEFTMETA 1 batocera-brightness cycle | ||
KEY_SYSRQ 1 batocera-screenshot | ||
BTN_MODE 1 /usr/bin/batocera-info --short | LANG=en_US HOME=/userdata/system XAUTHORITY=/var/lib/.Xauthority DISPLAY=:0.0 osd_cat -f -*-*-bold-*-*-*-38-120-*-*-*-*-*-* -cred -s 3 -d 4 | ||
SW_HEADPHONE_INSERT 1 /usr/bin/batocera-audio set-profile output:stereo-fallback@alsa_card.pci-0000_04_00.5-platform-acp5x_mach.0 | ||
SW_HEADPHONE_INSERT 0 /usr/bin/batocera-audio set-profile pro-audio@alsa_card.pci-0000_04_00.5-platform-acp5x_mach.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters