summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-17tap-dance: Major rework, to make it more reliableGergely Nagy
This reworks how the tap-dance feature works: instead of one global state, we have a state for each tap-dance key, so we can cancel them when another tap-dance key is in flight. This fixes #527. Since we have a state for each key, we can avoid situation where a keyup would mess with our global state. This fixes #563. And while here, we also make sure to fire events only once, and this fixes #574. There is one breaking change, though: tap-dance debugging support was removed, because dumping the whole state would increase the firmware size too much. Any keymap that made use of this, will have to be updated (but there's no such keymap in the repo). Also, there's a nice trick used in this rework: we need to iterate through tap_dance_actions in a few places, to check for timeouts, and so on. For this, we'd need to know the size of the array. We can't discover that at compile-time, because tap-dance gets compiled separately. We'd like to avoid having to terminate the list with a sentinel value, because that would require updates to all keymaps that use the feature. So, we keep track of the highest tap-dance code seen so far, and iterate until that index. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-17tap-dance: Include action_tapping.h for TAPPING_TERMGergely Nagy
Include `action_tapping.h`, so the keymap does not have to define a `TAPPING_TERM` for us, and we can use the default. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15Merge pull request #635 from algernon/f/ucisJack Humbert
Symbolic Unicode Input System
2016-08-15process_unicode: Introduce a slight delayGergely Nagy
When entering unicode codes, use some delay, so the OS has time to process the information. This is not needed on all systems, but some seem to require it. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Replace register_hex32Gergely Nagy
It turns out that register_hex32 did not work reliably, and some systems only allow 7 chars after the unicode magic sequence, while others allow 8. To remedy the situation, store the codes as strings, and type those in instead of doing bit shifting magic. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Use uint32_t for UCIS purposesGergely Nagy
Use a single uint32_t to store the unicode of a symbol, instead of an array of uint16_ts. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Make the startup overridableGergely Nagy
Extract out the part of `qk_ucis_start` that inputs the placeholder symbol, and make it weak, so it can be overridden. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Call process_ucis() automaticallyGergely Nagy
If UCIS is enabled, call process_ucis() automatically from process_record_quantum(). Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Handle too long UCIS symbol namesGergely Nagy
If the symbol name being entered is longer than the max, stop recording it, and stop processing keycodes apart from the ones that can delete, finish or cancel the sequence. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Add a way to enter unicode symbols by nameGergely Nagy
The purpose of this change is to allow keymaps to specify a dictionary of unicode symbol name to code mappings, and let the person at the keyboard enter unicode symbols by name. This is done by having a way to trigger unicode symbol input mode, when all keys are cached until Esc, Enter or Space are pressed. Once that happens, we try to look up the symbol from our lookup table. If found, we erase back, and type the unicode magic in to get that symbol. If not found, we still erase back, start unicode input mode, and replay what the user typed in. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-15process_unicode: Small refactor & linux fixGergely Nagy
This moves the unicode input start / end sequences into their own functions, so keymaps and other functionality can build on it too. At the same time, it changes how the Linux variant works, to match reality: CTRL+SHIFT must be unregistered too, and we close the thing with a Space instead. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-14Merge pull request #634 from di0ib/masterJack Humbert
minorca handwired
2016-08-14moved to handwired folderdi0ib
2016-08-14Merge branch 'master' of https://github.com/di0ib/qmk_firmwaredi0ib
2016-08-14Merge remote-tracking branch 'refs/remotes/jackhumbert/master'di0ib
2016-08-14Merge pull request #631 from jacwib/masterJack Humbert
Jacwib's keymap
2016-08-14Merge pull request #627 from algernon/h/set-unicode-input-modeJack Humbert
process_unicode: Fix set_unicode_input_mode()
2016-08-14Merge pull request #624 from Xyverz/masterJack Humbert
Added Ergodox Layout with persistent layers, Atreus corrections
2016-08-14Updated readmedi0ib
Added link to Minorca/Sebright blog.
2016-08-14cleanup readmedi0ib
2016-08-14Correct data pin to D5di0ib
2016-08-14Fix listdi0ib
2016-08-14clean up readnmedi0ib
2016-08-14Merge remote-tracking branch 'refs/remotes/jackhumbert/master'di0ib
2016-08-14minorcadi0ib
minirca with RGB keymap
2016-08-14Fix bugjacwib
2016-08-14Remove pointless commentsjacwib
2016-08-14Update readme.mdjacwib
2016-08-14Update Makefilejacwib
2016-08-14Update config.hjacwib
2016-08-14Update keymap.cjacwib
2016-08-14Update readme.mdjacwib
2016-08-14Jack's keymap.jacwib
2016-08-14Added my own layout to the Phantom.Xyverz
2016-08-13Fixing a mixup. Tidying up the keymap.Xyverz
2016-08-13Merge remote-tracking branch 'upstream/master'Xyverz
2016-08-13Merge pull request #623 from algernon/ergodox-ez/algernonErez Zukerman
ergodox: Update my keymap to v1.5
2016-08-13Merge pull request #626 from tenderlove/readme-linkErez Zukerman
fix link to ErgoDox EZ
2016-08-13Removal of old minivan44 folder.Ian Sterling
2016-08-13Renamed minivan44 to tv44 in all occurrences per wishes ofIan Sterling
Jack and Evan.
2016-08-13process_unicode: Fix set_unicode_input_mode()Gergely Nagy
In the header, this was defined as `set_unicode_input_mode`, but the implementation had `set_unicode_mode` for a name. Changed the implementation to match the header. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-12Adding the MiniVan44 aka TheVan 44 by u/evangs to the repo.Ian Sterling
Initial Commit.
2016-08-12Update keymap.cXyverz
2016-08-12Corrections to the Atreus Makefile and updates to my keymapIan Sterling
2016-08-12fix link to ErgoDox EZAaron Patterson
This just fixes the readme link to the ErgoDox EZ directory
2016-08-12forces all ergodox keymaps to be ez on qmk.fm (were infinity)Jack Humbert
2016-08-12Merge pull request #622 from shelaf/masterJack Humbert
My HHKB layout
2016-08-12Merge pull request #621 from shelaf/fixJack Humbert
Fix typo
2016-08-12ergodox: Update my keymap to v1.5Gergely Nagy
Major changes include: * The **1HAND** layer has been removed. * A `Delete` key is now available on the right thumb cluster. * The **ADORE** layer received a major update, see the updated layout image. * It is now possible to enable automatic logging for the **ADORE** layer, by setting the `ADORE_AUTOLOG` makefile variable to `yes` when compiling the keymap. It is off by default. * The `~` key and the `Media Next/Prev` key have been swapped on the **base** layer. * On the **ARROW** layer, `Backspace` has been replaced by `Enter`. * There is some experimental support for entering Unicode symbols. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-08-12add new lineshela