public void MapInput(JoyInput button, InputAction inputAction) { MapInput(inputAction); joystickMapping.Add(new Tuple <JoyInput, InputAction>(button, inputAction)); }
public void MapInput(SDL.SDL_Scancode key, InputAction inputAction) { MapInput(inputAction); keyboardMapping.Add(new Tuple <SDL.SDL_Scancode, InputAction>(key, inputAction)); }