[ion] Events: add event "%" on Alpha+Backspace

This commit is contained in:
Émilie Feral
2019-04-16 11:13:45 +02:00
parent e1b2bb09f0
commit 5237d95c21
3 changed files with 5 additions and 4 deletions

View File

@@ -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);

View File

@@ -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,

View File

@@ -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,