Commit Graph

3867 Commits (cd413550693564cb17da362f27a540d577271d36)
 

Author SHA1 Message Date
Gergely Nagy ce8cc9219f tap-dance: Support user_data for the callbacks
Refactored the code a little, so all callbacks now receive a `user_data`
pointer, which can be anything. As an example, the key pairs from
`ACTION_TAP_DANCE_DOUBLE` now use this, and custom, built-in functions.

This makes it easier to extend the tap dance functionality, and also
simplifies the code a little.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
9 years ago
Gergely Nagy 70e42489de tap-dance: Support for holding keys
With this change, tap dance will now store the pressed state of the
tap-dance key, and allow one to make an action sooner, while the key is
still held, and only unregister when the key is released.

The registration must happen in the `on_dance_finished` callback, while
unregistering goes to `on_reset`. The surrounding code makes sure not to
call either multiple times.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
9 years ago
Toni 197244e47f more cosmetic changes (whitespace) 9 years ago
Toni c1f014b1dd purely cosmetic changes 9 years ago
Jack Humbert 8e1d96983a Merge pull request #543 from VoodaGod/bone2planck
updated bone2planck
9 years ago
Jack Humbert 66fed12c98 Merge pull request #541 from milestogo/master
initial kinisis advantage build
9 years ago
Jack Humbert 5249b4451c Merge pull request #540 from replicaJunction/feature-atreus-keymapFunction
Adjusted Atreus KEYMAP() function.
9 years ago
Jack Humbert fb0bba5981 Merge pull request #538 from robertdale/preonic-map-correction
Preonic: Corrected the ascii layout to match the coded layout
9 years ago
Jack Humbert d5d2eb8b5a Merge pull request #536 from pvinis/debug-doc
add some debugging doc, after i found out how to print debug messages
9 years ago
Jack Humbert 6f9f9baff4 Merge pull request #530 from sethbc/master
Misc. fixes from sethbc
9 years ago
Jack Humbert 26546f995f Merge pull request #529 from CommandLineDesign/CMD60-newKeymap
Added CMD60 keymap
9 years ago
Jack Humbert 2bed835a33 Merge pull request #525 from edasque/master
Added Docker as a simple way to build firmwares
9 years ago
Jack Humbert fc9f128648 Merge pull request #522 from exiva/extrakey-macfix
Fix OS X Recognizing keyboard as Mouse/Tablet
9 years ago
Jack Humbert fc4ab870f5 Merge pull request #521 from exiva/makefile-wait
Make DFU wait for bootloader
9 years ago
Jack Humbert 940358ed4f Merge pull request #518 from jakllsch/upstream
keymap_extras changes
9 years ago
Jack Humbert 62a6d3a6f5 Merge pull request #516 from pvinis/tap-dance-anyway
Tap dance anyway
9 years ago
Stephen Christie eeb100f87d First draft of the 'impossible' layout. 9 years ago
milestogo 24e4e6dd18 adding traveller keyboard 9 years ago
Jason Janse van Rensburg b0e9dbecee fixed include paths 9 years ago
Jason Janse van Rensburg 32f5b34ad2 reformat 9 years ago
Jason Janse van Rensburg 3d7244e604 updated bone2planck 9 years ago
milestogo 1984861338 initial kinisis advantage build 9 years ago
Joshua T 8ee9c486fd Adjusted Atreus KEYMAP() function.
This change adjusts the KEYMAP() function to provide a more visual representation of the key positions on the keyboard. Previously, keymaps have been defined directly using arrays for the Atreus keyboard. While this works, it doesn't utilize the helpful KEYMAP() function at all to allow the user to visually position the key codes for ease of editing. See the Ergodox-EZ KEYMAP() function and layouts for a great example of how this can work.

This change should not break any existing Atreus layouts. At the time of this commit, there are two existing layouts for the Atreus board, and neither use the KEYMAP() function.
9 years ago
Pavlos Vinieratos 4e6a8627d8 add a couple of comments 9 years ago
Pavlos Vinieratos d5daec2a58 on_each_tap_fn is called on tap down and tap up 9 years ago
Pavlos Vinieratos 2e815ad9a2 add link to hid_listen 9 years ago
Robert Dale 9c26498f49 added Midi On/Off; Enter is actually transparent 9 years ago
Robert Dale 47223ebee4 Corrected the ascii layout to match the coded layout 9 years ago
Toni 5cd6d607fc changed ctrl back to enter. "j" interfered with my vimming 9 years ago
Toni 1988c180e3 small cosmetic change 9 years ago
Pavlos Vinieratos 6eb21d2680 add some debugging doc, after i found out how to print debug messages 9 years ago
Pavlos Vinieratos d8a979b6d5 add a bit of documentation 9 years ago
Pavlos Vinieratos dda2fd6ff3 in the default case, it should be called if there is actually a tap
dance happening, and in the normal case, it should be called when the
tap down is happening.
9 years ago
Christopher Browne 82f768e6c0 Notes about changes 9 years ago
Toni 4b32a161d0 renamed keymap 9 years ago
Toni 36242d5ac5 reduced makefile size. not so much needed due to "inheritance" 9 years ago
Gergely Nagy 53eb36c085 ergodox_ez: Update my keymap to v1.3
This updates my ErgoDox EZ layout to v1.3, which has the following
noteworthy changes:

* Added support for logging keys, by pressing `LEAD d`. Also included is
  a tool to generate a **heatmap** out of the logs.
* The arrow and navigation keys were rearranged again, and now require
  an additional key being held to activate. See the **base layer** for
  an image that shows where arrows are.
* The **experimental** layer has been redone, and is now
  called **ADORE**, and as such, can be enabled by `LEAD a` now.
* Switching between Dvorak and ADORE is now persisted into EEPROM, and
  survives a reboot.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
9 years ago
Will Wolff-Myren 3c4620bf81 Update readme.md
* Markdown cleanup
9 years ago
Will Wolff-Myren 8fb4074578 Update readme.md
* Updated layout images, json from Keyboard Layout Designer
* Added links to Keyboard Layout Designer templates.
* Added images of TECK, Kinesis layouts.
9 years ago
Will Wolff-Myren ea2b1670f6 Update description comment. 9 years ago
Will Wolff-Myren 5bf40bfb36 [MEDIA]: Remove Power, Sleep, Mail, MyComp
I kept hitting these on accident while attempting to move the cursor or
mouse. =P
9 years ago
Will Wolff-Myren ecc0fce210 [BASE]: Meh, Hyper now have symbols on both sides
Left: MEH_T(KC_BSLS),ALL_T(KC_SLSH)
Right: ALL_T(KC_LBRC),MEH_T(KC_RBRC)
9 years ago
Toni 11bf8355cf new modifier "J" is crtl 9 years ago
Will Wolff-Myren e9453b3fdc Update Base Layer comment to match new layout. 9 years ago
Will Wolff-Myren 11f8d167ec [BASE]: KC_MINS -> KC_GRV 9 years ago
Will Wolff-Myren e900c39669 RSpec: KC_EQL -> KC_MINS 9 years ago
Will Wolff-Myren 973ea2f917 LSpec: KC_GRV -> KC_EQL 9 years ago
Mazin Bokhari b9102b4bfa Update readme. My layout optimized for emacs & vim 9 years ago
Mazin Bokhari 964c064123 Update readme. My layout optimized for emacs & vim 9 years ago
Will Wolff-Myren abe8bfa3a6 Update .gitignore to include VSCode setting. 9 years ago