summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-08-17wring keypress for german iso fixed. prettifiedToni1-6/+6
2016-08-17tap-dance: Major rework, to make it more reliableGergely Nagy5-68/+70
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 Nagy1-0/+1
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-16no more warning thanks to iFreilicht's tip with undefToni1-0/+1
2016-08-16in accordance to keymap_makefile_example.mkToni1-12/+12
2016-08-16minor grammer fixesToni1-2/+2
2016-08-16big cleanup and minor refactoring. thanks iFreilicht.Toni6-163/+77
2016-08-16Update readme.mdPřemek Vyhnal1-0/+1
2016-08-16premek split layoutpremek1-1/+2
2016-08-16premek split layoutpremek3-0/+258
2016-08-16Added my custom Planck layout called Circuit.Matt5-0/+418
* Layout has image and readme, as well as documentation in the code.
2016-08-15Minor changes to felix keymapFelix Uhl3-17/+54
2016-08-15grammarToni1-1/+1
2016-08-15reference to reddit post and Terry MathewsToni1-0/+2
2016-08-15script now waits for the user to press the buttonToni1-2/+26
2016-08-15readme now with pictureToni2-0/+2
2016-08-15more prettynessToni1-2/+2
2016-08-15Update readme.mdToni1-1/+1
typo
2016-08-15Update readme.mdToni1-0/+2
attempt to prettify the table
2016-08-15more information. first steps in markdownToni1-1/+15
2016-08-15readme.md addedToni1-0/+16
2016-08-15removed my personal stuffToni2-4/+3
2016-08-15Merge remote-tracking branch 'origin/master' into iso_split_rshiftToni49-1278/+3141
no idea what is merged
2016-08-15Merge pull request #635 from algernon/f/ucisJack Humbert4-30/+221
Symbolic Unicode Input System
2016-08-15Adding KC_BSPC to the LT() macro for LOWER resulted in a backspace stroke ↵Xyverz2-59/+7
being sent if the LOWER key was used too quickly. Switching back to original LOWER macro, but keeping the new RAISE macro.
2016-08-15Adding u/treasuredfrog's hack to use LT() with the RAISE and LOWER macros.Xyverz1-6/+6
2016-08-15process_unicode: Introduce a slight delayGergely Nagy2-0/+8
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 Nagy2-13/+32
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 Nagy2-6/+13
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 Nagy2-0/+6
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 Nagy3-2/+5
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 Nagy1-1/+9
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 Nagy3-3/+126
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 Nagy2-31/+48
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-15Merge remote-tracking branch 'upstream/master'Xyverz22-1/+687
2016-08-15Setup the bottom-row modifiers to be mac-like in their arrangement.Xyverz1-3/+3
2016-08-15Merge pull request #634 from di0ib/masterJack Humbert17-0/+440
minorca handwired
2016-08-15moved to handwired folderdi0ib17-3/+3
2016-08-15Merge branch 'master' of https://github.com/di0ib/qmk_firmwaredi0ib1-0/+2
2016-08-15Merge remote-tracking branch 'refs/remotes/jackhumbert/master'di0ib22-9/+1234
2016-08-15Merge pull request #631 from jacwib/masterJack Humbert4-0/+246
Jacwib's keymap
2016-08-15Merge pull request #627 from algernon/h/set-unicode-input-modeJack Humbert1-1/+1
process_unicode: Fix set_unicode_input_mode()
2016-08-15Merge pull request #624 from Xyverz/masterJack Humbert17-8/+987
Added Ergodox Layout with persistent layers, Atreus corrections
2016-08-14Updated readmedi0ib1-0/+2
Added link to Minorca/Sebright blog.
2016-08-14cleanup readmedi0ib1-3/+3
2016-08-14Correct data pin to D5di0ib1-1/+1
2016-08-14Fix listdi0ib1-9/+9
2016-08-14clean up readnmedi0ib1-8/+10
2016-08-14Merge remote-tracking branch 'refs/remotes/jackhumbert/master'di0ib54-1420/+3698
2016-08-14minorcadi0ib17-0/+436
minirca with RGB keymap