diff --git a/ion/include/ion/events.h b/ion/include/ion/events.h index 8d85749ed..ed70f4968 100644 --- a/ion/include/ion/events.h +++ b/ion/include/ion/events.h @@ -144,6 +144,7 @@ constexpr Event Greater = Event::ShiftKey(Keyboard::Key::Square); constexpr Event Colon = Event::AlphaKey(Keyboard::Key::XNT); constexpr Event SemiColon = Event::AlphaKey(Keyboard::Key::Var); constexpr Event DoubleQuotes = Event::AlphaKey(Keyboard::Key::Toolbox); +constexpr Event Percent = Event::AlphaKey(Keyboard::Key::Backspace); constexpr Event LowerA = Event::AlphaKey(Keyboard::Key::Exp); constexpr Event LowerB = Event::AlphaKey(Keyboard::Key::Ln); diff --git a/ion/include/ion/keyboard/layout_B2/layout_events.h b/ion/include/ion/keyboard/layout_B2/layout_events.h index dd85eeb1a..3a62f82f9 100644 --- a/ion/include/ion/keyboard/layout_B2/layout_events.h +++ b/ion/include/ion/keyboard/layout_B2/layout_events.h @@ -32,7 +32,7 @@ static constexpr EventData s_dataForEvent[4*Event::PageSize] = { // Alpha U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), - U(), U(), T(":"), T(";"), T("\""), U(), + U(), U(), T(":"), T(";"), T("\""), T("%"), T("a"), T("b"), T("c"), T("d"), T("e"), T("f"), T("g"), T("h"), T("i"), T("j"), T("k"), T("l"), T("m"), T("n"), T("o"), T("p"), T("q"), U(), @@ -77,7 +77,7 @@ static constexpr const char * s_nameForEvent[255] = { //Alpha, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr, "Colon", "SemiColon", "DoubleQuotes", nullptr, + nullptr, nullptr, "Colon", "SemiColon", "DoubleQuotes", "Percent", "LowerA", "LowerB", "LowerC", "LowerD", "LowerE", "LowerF", "LowerG", "LowerH", "LowerI", "LowerJ", "LowerK", "LowerL", "LowerM", "LowerN", "LowerO", "LowerP", "LowerQ", nullptr, diff --git a/ion/include/ion/keyboard/layout_B3/layout_events.h b/ion/include/ion/keyboard/layout_B3/layout_events.h index 7746f52cd..e531a9bce 100644 --- a/ion/include/ion/keyboard/layout_B3/layout_events.h +++ b/ion/include/ion/keyboard/layout_B3/layout_events.h @@ -32,7 +32,7 @@ static constexpr EventData s_dataForEvent[4*Event::PageSize] = { // Alpha U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), U(), - U(), U(), T(":"), T(";"), T("\""), U(), + U(), U(), T(":"), T(";"), T("\""), T("%"), T("a"), T("b"), T("c"), T("d"), T("e"), T("f"), T("g"), T("h"), T("i"), T("j"), T("k"), T("l"), T("m"), T("n"), T("o"), T("p"), T("q"), U(), @@ -77,7 +77,7 @@ static constexpr const char * s_nameForEvent[255] = { //Alpha, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr, "Colon", "SemiColon", "DoubleQuotes", nullptr, + nullptr, nullptr, "Colon", "SemiColon", "DoubleQuotes", "Percent", "LowerA", "LowerB", "LowerC", "LowerD", "LowerE", "LowerF", "LowerG", "LowerH", "LowerI", "LowerJ", "LowerK", "LowerL", "LowerM", "LowerN", "LowerO", "LowerP", "LowerQ", nullptr,