Skip to content

Commit 96220f1

Browse files
committed
Add "menu" key (windows only)
1 parent dfd7e60 commit 96220f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/keycode.h

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ enum _MMKeyCode {
234234
K_SPACE = VK_SPACE,
235235
K_PRINTSCREEN = VK_SNAPSHOT,
236236
K_INSERT = VK_INSERT,
237+
K_MENU = VK_APPS,
237238

238239
K_NUMPAD_0 = VK_NUMPAD0,
239240
K_NUMPAD_1 = VK_NUMPAD1,

src/robotjs.cc

+1
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ static KeyNames key_names[] =
340340
{ "space", K_SPACE },
341341
{ "printscreen", K_PRINTSCREEN },
342342
{ "insert", K_INSERT },
343+
{ "menu", K_MENU },
343344

344345
{ "audio_mute", K_AUDIO_VOLUME_MUTE },
345346
{ "audio_vol_down", K_AUDIO_VOLUME_DOWN },

0 commit comments

Comments
 (0)