Add keycodes for volume/media playback that are supported by Electron to be used as the global hotkey

This commit is contained in:
Jonatan Heyman 2025-06-25 01:59:25 +02:00
parent aee29c5ec5
commit f56e00824f

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)