mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2026-01-29 01:41:31 -05:00
* feat: add tools popup to comma (or whatever) key This change introduces a popup menu on the second left key in the bottom row (often the comma), providing quick access to emoji and settings. - A new `keyRole` attribute to identify special keys like the new "tools" key. The comma key on most letter layouts is now designated as the `tools` key. - A long press on the comma key reveals a popup with icons for emoji and settings. - When the dedicated emoji key is enabled in settings, the emoji icon is removed from the tools popup and its secondary icon hint. - Introduced new key codes (`KEYCODE_POPUP_EMOJI`, `KEYCODE_POPUP_SETTINGS`) to handle actions from the tools popup. - Refactored the secondary icon drawing logi for better reusability. Refs: https://github.com/FossifyOrg/Keyboard/issues/62 * refactor: extract space bar and emoji/language long press handlers * fix: use proper colors for popup icons * fix: avoid clearing popup when numbers row is enabled * style: simplify condition