Skip to content
Permalink
Browse files

[Input] Fix SDL key mapping for 0 and 1

  • Loading branch information
xen2 committed Jul 19, 2019
1 parent c0bad0b commit 4ef9581f8d48637542d0c0ae0c8a773d123c4d1c
Showing with 2 additions and 1 deletion.
  1. +2 −1 sources/engine/Xenko.Input/SDL/KeyboardSDL.cs
@@ -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;

0 comments on commit 4ef9581

Please sign in to comment.
You can’t perform that action at this time.