mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 13:01:51 +02:00
Add keycodes for volume/media playback that are supported by Electron to be used as the global hotkey
This commit is contained in:
parent
aee29c5ec5
commit
f56e00824f
@ -29,6 +29,13 @@
|
|||||||
"PageDown",
|
"PageDown",
|
||||||
"Escape",
|
"Escape",
|
||||||
"PrintScreen",
|
"PrintScreen",
|
||||||
|
"VolumeUp",
|
||||||
|
"VolumeDown",
|
||||||
|
"VolumeMute",
|
||||||
|
"MediaNextTrack",
|
||||||
|
"MediaPreviousTrack",
|
||||||
|
"MediaStop",
|
||||||
|
"MediaPlayPause",
|
||||||
])
|
])
|
||||||
for (let i=1; i<=12; i++) {
|
for (let i=1; i<=12; i++) {
|
||||||
keys.push("F" + i)
|
keys.push("F" + i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user