HW: Add ticks to default mappings that are valid numeric literals.

This commit is contained in:
Jordan Woyak 2020-01-03 22:08:49 -06:00
parent 7a6a4510f6
commit 2a9a04a1ec
2 changed files with 14 additions and 14 deletions

View File

@ -157,16 +157,16 @@ void GCKeyboard::LoadDefaults(const ControllerInterface& ciface)
m_keys1x->SetControlExpression(13, "Y");
m_keys1x->SetControlExpression(14, "Z");
m_keys1x->SetControlExpression(15, "1");
m_keys2x->SetControlExpression(0, "2");
m_keys2x->SetControlExpression(1, "3");
m_keys2x->SetControlExpression(2, "4");
m_keys2x->SetControlExpression(3, "5");
m_keys2x->SetControlExpression(4, "6");
m_keys2x->SetControlExpression(5, "7");
m_keys2x->SetControlExpression(6, "8");
m_keys2x->SetControlExpression(7, "9");
m_keys2x->SetControlExpression(8, "0");
m_keys1x->SetControlExpression(15, "`1`");
m_keys2x->SetControlExpression(0, "`2`");
m_keys2x->SetControlExpression(1, "`3`");
m_keys2x->SetControlExpression(2, "`4`");
m_keys2x->SetControlExpression(3, "`5`");
m_keys2x->SetControlExpression(4, "`6`");
m_keys2x->SetControlExpression(5, "`7`");
m_keys2x->SetControlExpression(6, "`8`");
m_keys2x->SetControlExpression(7, "`9`");
m_keys2x->SetControlExpression(8, "`0`");
m_keys3x->SetControlExpression(5, "F1");
m_keys3x->SetControlExpression(6, "F2");

View File

@ -685,10 +685,10 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)
// B
m_buttons->SetControlExpression(1, "Click 1");
#endif
m_buttons->SetControlExpression(2, "1"); // 1
m_buttons->SetControlExpression(3, "2"); // 2
m_buttons->SetControlExpression(4, "Q"); // -
m_buttons->SetControlExpression(5, "E"); // +
m_buttons->SetControlExpression(2, "`1`"); // 1
m_buttons->SetControlExpression(3, "`2`"); // 2
m_buttons->SetControlExpression(4, "Q"); // -
m_buttons->SetControlExpression(5, "E"); // +
#ifdef _WIN32
m_buttons->SetControlExpression(6, "!LMENU & RETURN"); // Home