Fix media keys to use new key strings and codes (#164)
VolumeUp, VolumeDown, and VolumeMute were changed to AudioVolumeUp, AudioVolumeDown, and AudioVolumeMute The media keys like MediaTrackNext were also missing, so I added them.
This commit is contained in:
parent
1998104489
commit
3c75767288
10
lib/Input.js
10
lib/Input.js
@ -244,9 +244,13 @@ let keys = {
|
||||
'F24': 135,
|
||||
'NumLock': 144,
|
||||
'ScrollLock': 145,
|
||||
'VolumeMute': 181,
|
||||
'VolumeDown': 182,
|
||||
'VolumeUp': 183,
|
||||
'AudioVolumeMute': 173,
|
||||
'AudioVolumeDown': 174,
|
||||
'AudioVolumeUp': 175,
|
||||
'MediaTrackNext': 176,
|
||||
'MediaTrackPrevious': 177,
|
||||
'MediaStop': 178,
|
||||
'MediaPlayPause': 179,
|
||||
';': 186,
|
||||
':': 186,
|
||||
'=': 187,
|
||||
|
Loading…
Reference in New Issue
Block a user