Skip to content

Commit

Permalink
[Windows] Print screen key not working #378
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Apr 6, 2016
1 parent 7972db0 commit 34b8658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/event/src/conversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static const char* keynames[] =
"KP_ENTER",
"RCTRL",
"KP_DIVIDE",
"PRINT",
"SYSRQ",
"RALT",
"LINEFEED",
"HOME",
Expand Down
3 changes: 2 additions & 1 deletion shared/event/src/windows/winmm/scancodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ static unsigned char noflag_keys[0xFF] =
[0x6E] = KEY_F23,
[0x76] = KEY_F24,
[0x56] = KEY_102ND,
[0x54] = KEY_PRINT, // SYSRQ
};

static unsigned char e0flag_keys[0xFF] =
Expand Down Expand Up @@ -76,7 +77,7 @@ static unsigned char e0flag_keys[0xFF] =
[0x24] = KEY_STOP,
[0x32] = KEY_HOMEPAGE,
[0x67] = KEY_REFRESH,
[0x37] = KEY_PRINT,
[0x37] = KEY_PRINT, // PRINTSCREEN
[0x65] = KEY_SEARCH,
[0x6D] = KEY_MEDIA,
[0x5D] = KEY_COMPOSE,
Expand Down

0 comments on commit 34b8658

Please sign in to comment.