[ion] Alpha-locked percent becomes backspace

This commit is contained in:
Joachim Le Fournis
2020-04-09 18:09:03 +02:00
committed by GitHub
parent 8dbe719a68
commit 4a9bfca1f6
5 changed files with 25 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ public:
#if DEBUG
const char * name() const;
#endif
Event(Keyboard::Key key, bool shift, bool alpha);
Event(Keyboard::Key key, bool shift, bool alpha, bool lock);
bool operator==(const Event & other) const {
return (m_id == other.m_id);
@@ -56,6 +56,7 @@ void setShiftAlphaStatus(ShiftAlphaStatus s);
void removeShift();
bool isShiftActive();
bool isAlphaActive();
bool isLockActive();
void setLongRepetition(bool longRepetition);
bool isLongRepetition();
void updateModifiersFromEvent(Event e);