Skip to content

Commit

Permalink
Add "menu" key (windows only)
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Dec 26, 2016
1 parent dfd7e60 commit 96220f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/keycode.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ enum _MMKeyCode {
K_SPACE = VK_SPACE,
K_PRINTSCREEN = VK_SNAPSHOT,
K_INSERT = VK_INSERT,
K_MENU = VK_APPS,

K_NUMPAD_0 = VK_NUMPAD0,
K_NUMPAD_1 = VK_NUMPAD1,
Expand Down
1 change: 1 addition & 0 deletions src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ static KeyNames key_names[] =
{ "space", K_SPACE },
{ "printscreen", K_PRINTSCREEN },
{ "insert", K_INSERT },
{ "menu", K_MENU },

{ "audio_mute", K_AUDIO_VOLUME_MUTE },
{ "audio_vol_down", K_AUDIO_VOLUME_DOWN },
Expand Down

0 comments on commit 96220f1

Please sign in to comment.