Merge pull request #351 from heyman/add-more-key-codes-for-global-hotkey

Add keycodes for volume/media playback for the global hotkey
This commit is contained in:
Jonatan Heyman 2025-06-25 02:06:03 +02:00 committed by GitHub
commit 89827c991b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,13 @@
"PageDown",
"Escape",
"PrintScreen",
"VolumeUp",
"VolumeDown",
"VolumeMute",
"MediaNextTrack",
"MediaPreviousTrack",
"MediaStop",
"MediaPlayPause",
])
for (let i=1; i<=12; i++) {
keys.push("F" + i)