lime_qt: Removed defaults for diagonal input bindings

This commit is contained in:
OpenSauce04 2024-10-29 17:11:02 +00:00
parent c223da7003
commit bee3f2bbce
2 changed files with 12 additions and 20 deletions

View File

@ -32,28 +32,20 @@ const std::array<int, Settings::NativeButton::NumButtons> QtConfig::default_butt
Qt::Key_O, Qt::Key_P, Qt::Key_1, Qt::Key_2, Qt::Key_B, Qt::Key_V,
};
const std::array<std::array<int, 9>, Settings::NativeAnalog::NumAnalogs> QtConfig::default_analogs{{
const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> QtConfig::default_analogs{{
{
Qt::Key_Up, // Up
Qt::Key_Down, // Down
Qt::Key_Left, // Left
Qt::Key_Right, // Right
Qt::Key_W, // Up-Right
Qt::Key_Q, // Up-Left
Qt::Key_E, // Down-Right
Qt::Key_A, // Down-Left
Qt::Key_D // Modifier
Qt::Key_Up,
Qt::Key_Down,
Qt::Key_Left,
Qt::Key_Right,
Qt::Key_D,
},
{
Qt::Key_I, // Up
Qt::Key_K, // Down
Qt::Key_J, // Left
Qt::Key_L, // Right
Qt::Key_U, // Up-Right
Qt::Key_H, // Up-Left
Qt::Key_O, // Down-Right
Qt::Key_B, // Down-Left
Qt::Key_D // Modifier
Qt::Key_I,
Qt::Key_K,
Qt::Key_J,
Qt::Key_L,
Qt::Key_D,
},
}};

View File

@ -25,7 +25,7 @@ public:
void Save();
static const std::array<int, Settings::NativeButton::NumButtons> default_buttons;
static const std::array<std::array<int, 9>, Settings::NativeAnalog::NumAnalogs> default_analogs;
static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs;
static const std::array<UISettings::Shortcut, 35> default_hotkeys;
private: