abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/EmojiKeyButton.java
AgeCommit message (Collapse)AuthorFilesLines
2022-06-05Stop using flags for modifiersJules Aguillon1-1/+1
There was no free bits left to add new modifiers. Instead of increasing the width of the 'flags' field, refactor the way modifiers are represented and used. Modifers are now represented as independent values and stored in the 'code' field. A flag is added to distinguish between modifiers and keys with a key event. The most notable change is that modifiers can no longer be or-ed into a single value but have to be represented as an array.
2021-12-28Reference the "special key font" in the Theme objectJules Aguillon1-1/+1
Remove the last cast of the context.
2021-12-28Separate "handler" codeJules Aguillon1-3/+2
As with the previous commit, remove casts of the context. The "handler" object is referenced in the "config" object for now.
2021-12-19Auto-format Java and XML filesJules Aguillon1-16/+16
Use xmllint. Re-indent Java files using spaces.
2021-04-18Separate handling of modifiers from KeyValue classJules Aguillon1-2/+2
KeyValue defines an ADT and some of its values, it now contains public final fields and no internal logic. KeyModifier handles modifiers and accents and creates new instances of KeyValue when needed. This operation is now properly cached.
2015-10-24Emoji panejaguillo1-0/+29