abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/KeyEventHandler.java
AgeCommit message (Collapse)AuthorFilesLines
2022-03-13Avoid showing some symbols twice in Fn modeJules Aguillon1-0/+2
2022-02-22Send key events for the modifiersJules Aguillon1-15/+36
Before sending a key event while modifiers are active, send events for the modifier keys. Some applications don't look at the "metaState" flags but instead keep track of the up and down events for the modifiers. For example, the basic text views that are in every applications correctly handle the "metaState" flags except for one binding: Selecting text with the arrows while pressing shift.
2022-02-06Add the Meta keyJules Aguillon1-1/+3
Currently using the diamond symbol like the history meta key: https://en.wikipedia.org/wiki/Meta_key However, this key is actually interpreted as the Super/Windows key but Android calls it "meta" internally.
2022-01-09Add the Action keyJules Aguillon1-0/+2
It is placed on the top-right of the enter key on every layouts. It sends a special event (performEditorAction) instead of writing a newline. The "actionId" is passed through the EditorInfo object in an obfuscated way so it's not clear whether it's using the right one.
2021-12-28Separate "handler" codeJules Aguillon1-0/+76
As with the previous commit, remove casts of the context. The "handler" object is referenced in the "config" object for now.