Skip to content

Commit

Permalink
[Input] Fix SDL key mapping for 0 and 1
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Jul 19, 2019
1 parent c0bad0b commit 4ef9581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/engine/Xenko.Input/SDL/KeyboardSDL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ private static class SDLKeys
map[SDL.SDL_Keycode.SDLK_INSERT] = Keys.Insert;
map[SDL.SDL_Keycode.SDLK_DELETE] = Keys.Delete;
map[SDL.SDL_Keycode.SDLK_HELP] = Keys.Help;
map[SDL.SDL_Keycode.SDLK_1] = Keys.D0;
map[SDL.SDL_Keycode.SDLK_0] = Keys.D0;
map[SDL.SDL_Keycode.SDLK_1] = Keys.D1;
map[SDL.SDL_Keycode.SDLK_2] = Keys.D2;
map[SDL.SDL_Keycode.SDLK_3] = Keys.D3;
map[SDL.SDL_Keycode.SDLK_4] = Keys.D4;
Expand Down

0 comments on commit 4ef9581

Please sign in to comment.