Skip to content

Commit

Permalink
Detect keypad period (hopefully fixes #378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Manga authored and Felipe Manga committed Dec 21, 2023
1 parent a8f32e2 commit 117091b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/she/sdl2/she.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ static std::unordered_map<SDL_Keycode, Modifier> keyCodeMapping = {
{SDLK_KP_MINUS, she::kKeyMinusPad},
{SDLK_KP_PLUS, she::kKeyPlusPad},
// {SDLK_KP_DEL, she::kKeyDelPad},
{SDLK_KP_PERIOD, she::kKeyDelPad},
{SDLK_KP_ENTER, she::kKeyEnterPad},
{SDLK_PRINTSCREEN, she::kKeyPrtscr},
{SDLK_PAUSE, she::kKeyPause},
Expand Down

0 comments on commit 117091b

Please sign in to comment.