Commit Graph

2832 Commits (644c8c79271db8cf1bd934b9a80a0215585e46e7)
 

Author SHA1 Message Date
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
Jack Humbert cc7acfb416 Merge pull request #635 from algernon/f/ucis
Symbolic Unicode Input System
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
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
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
Jack Humbert cdd7301b8b Merge pull request #627 from algernon/h/set-unicode-input-mode
process_unicode: Fix set_unicode_input_mode()
8 years ago
Jack Humbert 8bb299255b Merge pull request #624 from Xyverz/master
Added Ergodox Layout with persistent layers, Atreus corrections
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
Erez Zukerman 5ef3f05215 Merge pull request #626 from tenderlove/readme-link
fix link to ErgoDox EZ
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
Gergely Nagy 8bdf745909 process_unicode: Fix set_unicode_input_mode()
In the header, this was defined as `set_unicode_input_mode`, but the
implementation had `set_unicode_mode` for a name. Changed the
implementation to match the header.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
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
Aaron Patterson 477f1ad0c8
fix link to ErgoDox EZ
This just fixes the readme link to the ErgoDox EZ directory
8 years ago
Jack Humbert 098951905d forces all ergodox keymaps to be ez on qmk.fm (were infinity) 8 years ago
Jack Humbert 11d4784d3a Merge pull request #622 from shelaf/master
My HHKB layout
8 years ago
Jack Humbert c6ec63eac3 Merge pull request #621 from shelaf/fix
Fix typo
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