mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
input: add missing control key to basic keyboard
The meta key logic changed, so we now have to add it.
This commit is contained in:
parent
c2899ad4cb
commit
1cef7df006
@ -179,17 +179,17 @@ void basic_keyboard_handler::LoadSettings(Keyboard& keyboard)
|
|||||||
std::vector<KbButton> buttons;
|
std::vector<KbButton> buttons;
|
||||||
|
|
||||||
// Meta Keys
|
// Meta Keys
|
||||||
//buttons.emplace_back(Qt::Key_Control, CELL_KB_MKEY_L_CTRL);
|
buttons.emplace_back(Qt::Key_Control, CELL_KB_MKEY_L_CTRL);
|
||||||
buttons.emplace_back(Qt::Key_Shift, CELL_KB_MKEY_L_SHIFT);
|
buttons.emplace_back(Qt::Key_Shift, CELL_KB_MKEY_L_SHIFT);
|
||||||
buttons.emplace_back(Qt::Key_Alt, CELL_KB_MKEY_L_ALT);
|
buttons.emplace_back(Qt::Key_Alt, CELL_KB_MKEY_L_ALT);
|
||||||
buttons.emplace_back(Qt::Key_Super_L, CELL_KB_MKEY_L_WIN);
|
buttons.emplace_back(Qt::Key_Super_L, CELL_KB_MKEY_L_WIN);
|
||||||
//buttons.emplace_back(, CELL_KB_MKEY_R_CTRL);
|
//buttons.emplace_back(, CELL_KB_MKEY_R_CTRL); // There is no way to know if it's left or right in Qt at the moment
|
||||||
//buttons.emplace_back(, CELL_KB_MKEY_R_SHIFT);
|
//buttons.emplace_back(, CELL_KB_MKEY_R_SHIFT); // There is no way to know if it's left or right in Qt at the moment
|
||||||
//buttons.emplace_back(, CELL_KB_MKEY_R_ALT);
|
//buttons.emplace_back(, CELL_KB_MKEY_R_ALT); // There is no way to know if it's left or right in Qt at the moment
|
||||||
buttons.emplace_back(Qt::Key_Super_R, CELL_KB_MKEY_R_WIN);
|
buttons.emplace_back(Qt::Key_Super_R, CELL_KB_MKEY_R_WIN);
|
||||||
|
|
||||||
// CELL_KB_RAWDAT
|
// CELL_KB_RAWDAT
|
||||||
//buttons.emplace_back(, CELL_KEYC_NO_EVENT);
|
//buttons.emplace_back(, CELL_KEYC_NO_EVENT); // Redundant, listed for completeness
|
||||||
//buttons.emplace_back(, CELL_KEYC_E_ROLLOVER);
|
//buttons.emplace_back(, CELL_KEYC_E_ROLLOVER);
|
||||||
//buttons.emplace_back(, CELL_KEYC_E_POSTFAIL);
|
//buttons.emplace_back(, CELL_KEYC_E_POSTFAIL);
|
||||||
//buttons.emplace_back(, CELL_KEYC_E_UNDEF);
|
//buttons.emplace_back(, CELL_KEYC_E_UNDEF);
|
||||||
@ -221,7 +221,7 @@ void basic_keyboard_handler::LoadSettings(Keyboard& keyboard)
|
|||||||
buttons.emplace_back(Qt::Key_Left, CELL_KEYC_LEFT_ARROW);
|
buttons.emplace_back(Qt::Key_Left, CELL_KEYC_LEFT_ARROW);
|
||||||
buttons.emplace_back(Qt::Key_Down, CELL_KEYC_DOWN_ARROW);
|
buttons.emplace_back(Qt::Key_Down, CELL_KEYC_DOWN_ARROW);
|
||||||
buttons.emplace_back(Qt::Key_Up, CELL_KEYC_UP_ARROW);
|
buttons.emplace_back(Qt::Key_Up, CELL_KEYC_UP_ARROW);
|
||||||
//buttons.emplace_back(WXK_NUMLOCK, CELL_KEYC_NUM_LOCK);
|
//buttons.emplace_back(, CELL_KEYC_NUM_LOCK);
|
||||||
buttons.emplace_back(Qt::Key_Meta, CELL_KEYC_APPLICATION);
|
buttons.emplace_back(Qt::Key_Meta, CELL_KEYC_APPLICATION);
|
||||||
buttons.emplace_back(Qt::Key_Kana_Shift, CELL_KEYC_KANA); // maybe Key_Kana_Lock
|
buttons.emplace_back(Qt::Key_Kana_Shift, CELL_KEYC_KANA); // maybe Key_Kana_Lock
|
||||||
buttons.emplace_back(Qt::Key_Henkan, CELL_KEYC_HENKAN);
|
buttons.emplace_back(Qt::Key_Henkan, CELL_KEYC_HENKAN);
|
||||||
|
Loading…
Reference in New Issue
Block a user