Commit Graph

3406 Commits (1a96b2cdc8895bd9f219e6c793aeee6ff7ce81f6)
 

Author SHA1 Message Date
Jack Humbert f59b61332f Merge pull request #638 from premek/master
Split layout for planck
8 years ago
Jack Humbert 034bf67f2a Merge pull request #637 from mld2443/master
Circuit keymap for Planck keyboard
8 years ago
Wojciech Siewierski 950755edaf Add the dynamic macros documentation to the readme 8 years ago
Wojciech Siewierski 39e8e61258 Implement the dynamic macros that are recorded in runtime 8 years ago
Wojciech Siewierski 644c8c7927 Fix the process_record_nocache function
This function relies on checking the disable_action_cache static
variable before accessing the layer cache.
8 years ago
Xyverz ef95c10c66 Update readme.md 8 years ago
Xyverz e3486caf87 Create readme.md 8 years ago
Nigel Lundsten 3e1d142018 trailing slash 8 years ago
Nigel Lundsten 6bafafc18d fix ergodox link (again?)
/ergodox/ez  is a broken link, seems like the ez stuff is at /ergodox
8 years ago
Toni c024de4a87 wring keypress for german iso fixed. prettified 8 years ago
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
Gergely Nagy d78058cc75 tap-dance: Include action_tapping.h for TAPPING_TERM
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>
8 years ago
Toni 8e142d8cbe no more warning thanks to iFreilicht's tip with undef 8 years ago
Toni deedd2f408 in accordance to keymap_makefile_example.mk 8 years ago
Toni 03a24eb86a minor grammer fixes 8 years ago
Toni b1ac91a040 big cleanup and minor refactoring. thanks iFreilicht. 8 years ago
Přemek Vyhnal 2ebfdcac40 Update readme.md 8 years ago
premek a75d4bd593 premek split layout 8 years ago
premek 5abb05ca40 premek split layout 8 years ago
Matt f5ed3e5155 Added my custom Planck layout called Circuit.
* Layout has image and readme, as well as documentation in the code.
8 years ago
Felix Uhl faa3fd48ae Minor changes to felix keymap 8 years ago
Toni 68005ce602 grammar 8 years ago
Toni 7e1be3ae7c reference to reddit post and Terry Mathews 8 years ago
Toni b8cbf7c9c0 script now waits for the user to press the button 8 years ago
Toni 396b59f256 readme now with picture 8 years ago
Toni 94ff9c9fa5 more prettyness 8 years ago
Toni 14de76ea80 Update readme.md
typo
8 years ago
Toni 5cf5e27dcd Update readme.md
attempt to prettify the table
8 years ago
Toni 77f3efbef6 more information. first steps in markdown 8 years ago
Toni ca4968bc44 readme.md added 8 years ago
Toni f89aec98ae removed my personal stuff 8 years ago
Toni 5ecebc3a66 Merge remote-tracking branch 'origin/master' into iso_split_rshift
no idea what is merged
8 years ago
cbbrowne 3cb1dce622 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Jack Humbert cc7acfb416 Merge pull request #635 from algernon/f/ucis
Symbolic Unicode Input System
8 years ago
cbbrowne 8a14952e44 Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware 8 years ago
Xyverz 5c5c3e626b Adding KC_BSPC to the LT() macro for LOWER resulted in a backspace stroke being sent if the LOWER key was used too quickly.
Switching back to original LOWER macro, but keeping the new RAISE macro.
8 years ago
Xyverz 8e2d69d5a2 Adding u/treasuredfrog's hack to use LT() with the RAISE and LOWER macros. 8 years ago
Gergely Nagy e8845f0daf process_unicode: Introduce a slight delay
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>
8 years ago
Gergely Nagy 43d08629cf process_unicode: Replace register_hex32
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>
8 years ago
Gergely Nagy a312cbf712 process_unicode: Use uint32_t for UCIS purposes
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>
8 years ago
Gergely Nagy 234dd276cf process_unicode: Make the startup overridable
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>
8 years ago
Gergely Nagy 857aa5bef6 process_unicode: Call process_ucis() automatically
If UCIS is enabled, call process_ucis() automatically from
process_record_quantum().

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy 0b6861827f process_unicode: Handle too long UCIS symbol names
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>
8 years ago
Gergely Nagy fa06a16360 process_unicode: Add a way to enter unicode symbols by name
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>
8 years ago
Gergely Nagy 63e5782d2c process_unicode: Small refactor & linux fix
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>
8 years ago
Xyverz 4f0bcfe724 Merge remote-tracking branch 'upstream/master' 8 years ago
Xyverz 055b887b0d Setup the bottom-row modifiers to be mac-like in their arrangement. 8 years ago
Jack Humbert bc8976d277 Merge pull request #634 from di0ib/master
minorca handwired
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