Commit Graph

6 Commits (786eb4e73d92cbca81e7893095f9c689f4577d91)

Author SHA1 Message Date
tengg aaa01d0a4e ESC/GRAVE/TILDE better handling (#1307)
* revise HHKB bootloader_size to 4096 such that sw reset works

* cleanup esr/grave/tilde handling function
8 years ago
skullY 452949f913 Add #1170 to all the clueboard keymaps 8 years ago
tengg 3cba7a43d9 typo fixed 8 years ago
tengg a89998b977 fix typo 8 years ago
tengg 9e0ca927f9 fixed a bug related to mod + Grave with combined ESC/Grave key
This only applies to keymaps that has combined esc/grave. Here we call it theKEY.
Think about the motion when we do shift + theKEY (typing ~), or CMD + theKEY (switching window on MAC). Based on the original code, we must do following sequence:  press shift -> press theKEY -> release theKEY -> release shift. However, it is very possible and natural that we do this stroke sequence instead: press shift -> press theKEY -> release shift -> release theKEY.

If we do the 2nd stroke sequence, the code will del_key(ESC) instead of (GRV) when we release theKEY. This caused some inconvenient issues and ghost typing.

By adding a flag, this issue is eliminated and will not affect any other functions.
8 years ago
skullY cbef63d8fa Rework the clueboard keymaps a bit. 8 years ago