Commit Graph

4351 Commits (76b1f392abb2a0cf4a7fa14a01818998f4de4d39)
 

Author SHA1 Message Date
SjB 5a860b71a1 race condition between oneshot_mods and tap_dance
since the keycode for a tap dance process gets process only after the
TAPPING_TERM timeout, you really only have ONESHOT_TIMEOUT -
TAPPING_TERM time to tap or double tap on the key. This fix save the
oneshot_mods into the action.state structure and applies the mods with
the keycode when it's registered. It also unregisters the mod when the
the tap dance process gets reset.
8 years ago
SjB 45e0d09414 moved oneshot cancellation code outside of process_record.
The oneshot cancellation code do not depend on the
action_tapping_process and since process_record get called via the
action_tapping_process logic moved the oneshot cancellation code into
the action_exec function just before the action_tapping_process call
8 years ago
SjB f644b9a07a registering a weak_mods when using register_code16
Scenario:
Locking the KC_LSHIFT, and then using a tap dance key that registers a
S(KC_9) will unregister the KC_LSHIFT.

The tap dance or any keycode that is registered should not have the
side effect of cancelling a locked moditifier. We should be using a
similar logic as the TMK codes in tmk_core/comman/action.c:158.
8 years ago
Priyadi Iman Nurcahyo 3835b4bfcc Merge branch 'promethium' of github.com:priyadi/qmk_firmware into promethium 8 years ago
Priyadi Iman Nurcahyo 011811af68 minimize LEDs 8 years ago
Priyadi Iman Nurcahyo 306f43e5ee fix greek layers 8 years ago
Priyadi Iman Nurcahyo c5ab0b2b61 Implement greek layers on my Promethium layout 8 years ago
Yale Thomas 8df30c1c56 added picture of layout 8 years ago
Yale Thomas ad0ce40db0 usability tweaks 8 years ago
Yale Thomas d549002d22 mouse keys added 8 years ago
Yale Thomas 4eafa86564 new 'yale' keymap 8 years ago
Stephen Tudor 1d9e0b0120 s/Bkps/Bksp 8 years ago
Luke Silva 77e54e34e1 Add luke keymap, as an example of the tapping macros 8 years ago
Luke Silva a3357d078e Add support for various tapping macros
A macro key can now be easily set to act as a modifier on hold, and
press a shifted key when tapped. Or to switch layers when held, and
again press a shifted key when tapped.

Various other helper defines have been created which send macros when
the key is pressed, released and tapped, cleaning up the
action_get_macro function inside keymap definitions.

The layer switching macros require a GCC extension - 'compound
statements enclosed within parentheses'. The use of this extension is
already present within the macro subsystem of this project, so its use
in this commit should not cause any additional issues.

MACRO_NONE had to be cast to a (macro_t*) to suppress compiler
warnings within some tapping macros.
8 years ago
Stephen Tudor 7c24ecf580 Carry over Planck updates to my Preonic keymap 8 years ago
Stephen Tudor 321904b8e3 Improve Planck keymap
- added escape+shift mod-tap key
- replaced BRITE with backtick
8 years ago
Stephen Tudor fa72689145 Merge branch 'master' into smt/planck
* master:
  Clarify license on abnt2 keymap (#1038)
  replace jackhumbert with qmk
  Add gitter image, start update to qmk org
  Remove COLEMAK from preonic_keycodes enum
  layer defines to enum
  Update readme for smt Preonic keymap
  Add smt keymap for Preonic
  updated all the other keymaps to support the new changes.
  fix: infinity60 keyboard was not using quantum features.
  Compare Makefile with itself instead of using `--help`
8 years ago
skullydazed ec05f65421 Merge pull request #1043 from potz/patch-1
Clarify license on abnt2 keymap (#1038)
8 years ago
lucwastiaux f6feee8167 eliminate references to shell_layer 8 years ago
lucwastiaux a1c53d0f93 documented dual mode capslock 8 years ago
milestogo cb2d4fb80b split kinesis layout into ergodox and planck style symbol layers 8 years ago
Potiguar Faga 2fe18a50ec Clarify license on abnt2 keymap (#1038) 8 years ago
folkert4 8c794d73fa Added Espynn's keymap 8 years ago
Jack Humbert a28f689387 Merge pull request #869 from dylanjgscott/master
Use `type cmp` to test for cmp in Makefile
8 years ago
lucwastiaux 93c1bfa646 dual capslock functionality, activating shell nav or brackets 8 years ago
Brendan Johan Lee d7aa4724fb Merge remote-tracking branch 'upstream/master' 8 years ago
Brendan Johan Lee 13fa63b192 [deadcyclo layout] Added more unicode keys and ibus unicode compose trigger keys 8 years ago
Jack Humbert 712f3de16f Merge pull request #1035 from qmk/qmk_org_changes
Updated urls due to transfer to qmk org
8 years ago
Luke Silva cfc4149712 Add ability to use tap macros without using functions 8 years ago
Albert Pretorius fffe76a7b7 albert ergodox keymap 8 years ago
Nic Aitch 890ecf6a2a Update readme 8 years ago
Nic Aitch 3131d65563 Add avrdude target 8 years ago
Luke Silva 87bc36253d Fix documentation for TMK actions 8 years ago
Brendan Johan Lee 8a645aa9ad Merge remote-tracking branch 'upstream/master' 8 years ago
Jack Humbert c9ca368008 replace jackhumbert with qmk 8 years ago
Jack Humbert aac7c0aa4d Merge pull request #1029 from SjB/qmk_infinity60
fix: infinity60 keyboard was not using quantum features.
8 years ago
Jack Humbert 0212a30aa6 Merge pull request #1033 from smt/smt/preonic
Add smt's keymap for Preonic
8 years ago
Jack Humbert 1b20243092 Add gitter image, start update to qmk org 8 years ago
Stephen Tudor 63e406eca4 Add smt keymap for Planck 8 years ago
Stephen Tudor 6546dddddb Remove COLEMAK from preonic_keycodes enum 8 years ago
Jack Humbert 7e3962f36a Merge branch 'master' of github.com:jackhumbert/qmk_firmware 8 years ago
Jack Humbert 938422ce99 layer defines to enum 8 years ago
Brendan Johan Lee 8af48194f2 [deadcyclo layout] Added lotsof new emojis and some new unicode keys 8 years ago
Stephen Tudor 51fe4f0d34 Update readme for smt Preonic keymap 8 years ago
Stephen Tudor b3cf96ec2e Add smt keymap for Preonic 8 years ago
Brendan Johan Lee d0db044164 Merge remote-tracking branch 'upstream/master' 8 years ago
Brendan Johan Lee 37ed3d13a4 [deadcyclo layout] Added unicode layer 8 years ago
Brendan Johan Lee 3c32e38036 [deadcyclo layout] Added support for ergodox ez shine 8 years ago
Jack Humbert 71137deba2 Merge pull request #1014 from SjB/lcd_mods_status
added mods status bit to visualizer.
8 years ago
SjB 9111cc00f5 updated all the other keymaps to support the new changes.
qmk firmware requires the matrix_init_user and matrix_scan_user
function to be implementated. Added these function to all the existing
keymaps.
8 years ago