Example #1
0
    public void UpdatingKeyConfig()
    {
        InputEventKey updatedKey = SettingsOptions.GetInputFromKey(input);

        InputHandler.SetActionFromInput(InputHandler.GetNameFromKey(input), updatedKey);
        button.Text  = OS.GetScancodeString(updatedKey.Scancode);
        previousText = button.Text;
    }