Commit Graph

282 Commits (29f64d7a93d941167c6c6e95f893ab84586b2205)

Author SHA1 Message Date
Gergely Nagy 29f64d7a93 tap-dance: Major rework, to make it more reliable
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>
8 years ago
di0ib 959c48e146 moved to handwired folder 8 years ago
di0ib 288bf4faa3 Merge branch 'master' of https://github.com/di0ib/qmk_firmware 8 years ago
di0ib df56d742b1 Merge remote-tracking branch 'refs/remotes/jackhumbert/master' 8 years ago
Jack Humbert 4865e6f81f Merge pull request #631 from jacwib/master
Jacwib's keymap
8 years ago
di0ib 503ec7f9f6 Updated readme
Added link to Minorca/Sebright blog.
8 years ago
di0ib f58a67c991 cleanup readme 8 years ago
di0ib 1eaa685872 Correct data pin to D5 8 years ago
di0ib 65060ad000 Fix list 8 years ago
di0ib dde9ee572c clean up readnme 8 years ago
di0ib b4218a2b3e Merge remote-tracking branch 'refs/remotes/jackhumbert/master' 8 years ago
di0ib c6c2c3fc14 minorca
minirca with RGB keymap
8 years ago
jacwib 54e37fd2d1 Fix bug 8 years ago
jacwib 6ba27ea318 Remove pointless comments 8 years ago
jacwib e4e13ddc54 Update readme.md 8 years ago
jacwib 26f4a0cf04 Update Makefile 8 years ago
jacwib 62004866b3 Update config.h 8 years ago
jacwib cf91aa416a Update keymap.c 8 years ago
jacwib 1ab78110bd Update readme.md 8 years ago
jacwib 880486bd24 Jack's keymap. 8 years ago
Xyverz 049343e523 Added my own layout to the Phantom. 8 years ago
Xyverz 97fca1efff Fixing a mixup. Tidying up the keymap. 8 years ago
Xyverz 1920c290a4 Merge remote-tracking branch 'upstream/master' 8 years ago
Erez Zukerman 6323f3d1e7 Merge pull request #623 from algernon/ergodox-ez/algernon
ergodox: Update my keymap to v1.5
8 years ago
Ian Sterling e87506767c Removal of old minivan44 folder. 8 years ago
Ian Sterling 2d0f585e42 Renamed minivan44 to tv44 in all occurrences per wishes of
Jack and Evan.
8 years ago
Ian Sterling c07fe96581 Adding the MiniVan44 aka TheVan 44 by u/evangs to the repo.
Initial Commit.
8 years ago
Xyverz 3bae791372 Update keymap.c 8 years ago
Ian Sterling 458607ee5e Corrections to the Atreus Makefile and updates to my keymap 8 years ago
Gergely Nagy b98d47abe5 ergodox: Update my keymap to v1.5
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>
8 years ago
shela 11e23fd3fd add new line 8 years ago
shela c9272fee08 add new line 8 years ago
shela 1c8d64d3b3 add my keymap 8 years ago
Jack Humbert 97cd7afc32 Merge pull request #618 from denolfe/master
Add denolfe satan keymap
8 years ago
Jack Humbert a087a207f1 Merge pull request #608 from finleye/master
Adds keymap based on Kinesis advantage
8 years ago
Xyverz 71e1bb2e1c Delete keymap.c
Not ready to submit this one just yet.
8 years ago
Xyverz eeade4af84 Update keymap.c
Changed right-hand F-key layout in order to add KC_PLUS to _L2.
8 years ago
Xyverz d1f418d85d Update Makefile
Corrected spelling of "ATREUS" in all locations. (ATRUES -> ATREUS)
8 years ago
Elliot DeNolf 56f86413e0 Add denolfe satan keymap 8 years ago
Ian Sterling 0d60355241 Added braces using LSFT(KC_LBRC) and LSFT(KC_RBRC) since the normal RBCR and LBCR didn't work for me. 8 years ago
Ian Sterling 6f700f1eb0 Adding my own layouts for the Phantom and Ergodox. My Ergodox layout adds persistent layers
based on the Planck and Preonic setup. The layout arrays are pulled directly from the
ergodox/ez/ez.h keymap definition starting at line 81.
8 years ago
Callum Oakley 2a160bbbe3 Update keymap. (#616)
* changed order of bottom row of symbol layer to ease acess to brackets

* updated readme.md to reflect keymap changes
8 years ago
Xyverz ca3278cc35 adds Xyverz's keymaps (#615)
* Adding my own keymaps to the following keyboards:

Planck, Preonic, Atreus, Ergodox

* Delete dvorak.png

Not reflective of my layout.

* Delete readme.md

file cleanup, removing file that doesn't apply to my layout.

* Delete old_keymap.c

file cleanup

* Delete README.md

file clean up.

* Delete README.md

file cleanup

* Delete keymap.c

file cleanup

* Changed behavior of _DVORAK layout's KC_RSFT to SFT_T(KC_ENT) for flexibility's sake.
Updated the rest of the keymap to reflect the current (as of 19:37 on 08 Aug 2018) default
layout and default makefile.
8 years ago
Ian Sterling 78a6fae453 Merge branch 'master' of https://github.com/Xyverz/qmk_firmware 8 years ago
Ian Sterling 39dd3d674c Changed behavior of _DVORAK layout's KC_RSFT to SFT_T(KC_ENT) for flexibility's sake.
Updated the rest of the keymap to reflect the current (as of 19:37 on 08 Aug 2018) default
layout and default makefile.
8 years ago
Xyverz c062b6a13d Delete keymap.c
file cleanup
8 years ago
Xyverz 4e030313f7 Delete README.md
file cleanup
8 years ago
Xyverz 1493836762 Delete README.md
file clean up.
8 years ago
Xyverz c060afe68e Delete old_keymap.c
file cleanup
8 years ago
Xyverz bf93fa510b Delete readme.md
file cleanup, removing file that doesn't apply to my layout.
8 years ago