aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make Audio Clicky's randomness a floatDrashna Jaelre2018-09-271-2/+3
| | | | | | | | | | | | Rather than a define, but read from the define. This way, a smart coder could externally configure the randomness, changing it on the fly This is also a precursor step to adding full on support for configurable randomness.
* | Add On/Off keycodesDrashna Jaelre2018-09-252-7/+11
| |
* | Add functions so you can configure programaticallyDrashna Jaelre2018-09-252-18/+51
| |
* | Store Clicky status in EEPROMDrashna Jaelre2018-09-251-7/+7
| |
* | Make `PREVENT_STUCK_MODIFIERS` the default (#3107)Joe Wasson2018-09-173-109/+1
|/ | | | | | | | | | * Remove chording as it is not documented, not used, and needs work. * Make Leader Key an optional feature. * Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE` * Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
* Adds support for Planck Rev 6 (#2666)Jack Humbert2018-07-164-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial files for rev 6 with encoder * music map init, dip scan added * adds ws2812 driver for arm * flesh out dip and encoder support * adds default encoder res * adds default encoder res * start muse implementation * muse working with encoder as control * flip direction * try mouse wheel again * dont break other revs * dont break other revs * conditional autio * pwm ws driver (not working) * update build includes for chibios * update ws2812 driver/config * last commit for glasser code * working example * remove rgb for now * finish up rev6 * working encoder keycodes * add warnings to planck keymaps about the LAYOUT
* Fix tapdance when one-shot is disabled.Joe Wasson2018-07-151-0/+6
|
* Fixed sprintf overflowM1K3L082018-05-161-1/+1
|
* Add default to LEADER_TIMEOUT in case it's not defined (#2818)Drashna Jaelre2018-05-152-3/+6
| | | | | | * Add default to LEADER_TIMEOUT in case it's not defined * Update Leader Timeout default
* updated music maskJack Humbert2018-05-082-10/+28
|
* Update to drashna keymaps and userspace (#2876)Drashna Jaelre2018-05-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix Unicode sample * Add irony mark * Remove unpretty keymaps * Add QMK DFU and Conditional Music Mode * Unicode fixes * Unicode fixes * Make layer indication more modular * Finish removing Faux Click * Cleanup of UserSpace and addition of 'update_tri_layer_state' function * Add modifier status indicators to Orthodox * Remove tri layer function * Minor tweaks * Remove the Orthodox's Indicator's reliance on layer_state_set * Add custom EEPROM settings * Make EEPROM config more efficient * Viterbi Config * Add Iris Keyboard layout and Userspace cleanup * Iris keyboard tweaks * Use Grave Escape on Iris * Update Readmes
* Added command history to terminal with other bug fixes, added new song to ↵M1K2018-05-011-14/+111
| | | | | | | | song_list.h (#2855) * Implemented Terminal + added song to song_list.h * Added wait() in order to prevent misbehaviour of 'command not found'
* Fix Clicky Down codeDrashna Jaelre2018-04-281-1/+1
|
* Fix Audio Clicky sub-feature (#2784)Drashna Jaelre2018-04-213-65/+79
| | | | | | * Fix Audio Clicky feature * Add to features
* Update to drashna keymaps and userspace (#2756)Drashna Jaelre2018-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Re-add NO_SECRETS option * Add Thumb Clusters defines for default layout * Minor tweaks * More Minor tweaks * Revert Orthodox layers and move function keys around * Fix keymap so it will compile under the Infinity Since I haven't added 'pretty' layouts to it yet * Cleanup of userspace * Cleanup keymaps * OMG fix Workman * Move mods layer key around * Reduce debounce in Ergodox EZ * Fix Infinity layers * Add list of pins used by Ergdox EZ for easy reference * Revert "Reduce debounce in Ergodox EZ" This reverts commit 8a3db2673b419ef8032c40a6d29156cef632f9cd. * Add Clicky toggle to Orthodox * Fix Audio Clicky keycode * Enable Faux Clicky by default * Add Unicode stuff
* Add Faux Clicking as subset of Audio feature (#2748)Drashna Jaelre2018-04-191-1/+68
| | | | | | | | | | * Add Faux Clicky to main Audio feature * Make clicky settings user configurable * Add additional documentation * Don't play when music mode is enabled (hopefully)
* Added bending to MIDI (#2740)adiron2018-04-181-0/+20
| | | | | | | | | | | This is done via MI_BENDD and MI_BENDU. At the moment the value is hardcoded and cannot be adjusted (future commit?) and is the max for the `midi_send_pitchbend` function (up or down). `MI_BENDD` and `MI_BENDU` both require `#define MIDI_ADVANCED` MIDI pitch bend was already implemented in `protocol/midi.c`, I merely added the keycodes to trigger them. :) (thanks to Jack, two years ago in commit fb4fe52c apparently)
* Improve state/chord handling and clean up namespaceSeebs2018-04-072-49/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some values that can never, ever, change were held in local variables, rather than in PROGMEM. Fixed. Change "pressed" to a signed int so the test for < 0 makes sense, and to avoid possible weird failure modes in the case where a key release comes in when pressed is already zero. (Shouldn't happen, sure, but computers are weird.) A lot of things in process_steno had external linkage for no particular reason. They've been marked static. Stuff still builds. Distinguish between currently-held keys and keys that have been held, and expose these values through a nicely-named API so other code could, say, check on the current set of steno chording in order to make displays. Also in passing fix up the "state" value having external linkage so it could clash with other people's variable declarations. The API also provides hooks for key processing and steno chord events, so you can monitor those events without having to run in matrix_scan_user and recheck the values directly. Also document these. There is no path through processing a key that doesn't end with a return false, so the nested return foo() are gone and we just return false.
* add grave to auto-shift.Jason Stillwell2018-03-261-0/+1
|
* Rule to enable Modifiers with Auto-Shift (#2542)Jason Stillwell2018-03-161-0/+4
| | | | | | | | | | | | * Re-enable modifiers with auto-shift * Auto-shift modifiers rule * missed a line * Documentation * fixing whitespace
* Fixed various keymaps and the allocation of "key_combos" (#2526)Brian Choromanski2018-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | * Fixed plank keymaps so that they will compile for planck light * tv44:budi now compiles * s60_x:amnesia0287 now compiles * Fixed allocation of key_combos so that narze keymap for planck can compile correctly * Disabled rgb on ergodone and infinity * Enabled tap dance so it compiles * Added return statement so it compiles * If compiling on light disable extra functionality * Properly redefined variable so it compiles
* Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo2018-02-082-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move lufa descriptor to protocol/usb_descriptor * Try to compile usb_descriptor on ChibiOS * Add lufa_utils for ChibiOS Lufa USB descriptors for ChibiOS * More lufa_util compatibility fixes * First compiling version of shared USB descriptor * Send the usb descriptors * Fix the CONSOLE output on ChibiOS * Add errors for unsupported interfaces * Enable support for vitual serial port USB descriptors * Implement virtual serial port for ChibiOS * Cleanup the lufa_utils Use the default lufa header files * Add raw hid support for ChibiOS This is completely untested * Enable midi compilation on ChibiOS * Move midi functionality out of lufa.c * Don't register sysex callback when not needed * ChibiOS compilation fixes * Update ChibiOS submodule * Fix the Midi USB descriptor It didn't work properly when both Midi and Virtual serial port was enabled. * Add MIDI support for ChibiOS * Fix USB descriptor strings on ChibiOS * Use serial usb driver for raw hid * Generalize the ChibiOS stream like drivers This makes the initialization much more simple and eliminates a lot of the code duplication. * Convert console output to chibios stream driver * Fixes for ChibiOS update * Update the ChibiOS contrib submodule To include the usb data toggle synchronization fixes * Fix duplicate reset enumeration on ChibiOS * Add missing include * Add number of endpoints check for ChibiOS * Enable serial USB driver on all keyboards * Add missing includes when API is enabled withot midi * Add another missing inlcude
* Fixes to get tap dance to fire at proper places (#2272)scauligi2018-02-042-31/+49
| | | | | | | | * tap dance fixes: fire immediately upon completion and also get properly interrupted before macros * bugfix for tapdance improvement * fix build
* added the possibility to hav shifted(modded) tap dancepmalecka2018-01-122-0/+5
|
* Add on/off/toggle keycodes for Auto ShiftDrashna Jael're2017-12-202-10/+38
|
* Add toggle option to AutoShiftU-LANDSRAAD\drashna2017-12-201-0/+13
|
* fixes midi compile errorJack Humbert2017-12-101-1/+3
|
* fix up midi stuff w/music modeJack Humbert2017-12-102-8/+79
|
* Fix for issue https://github.com/qmk/qmk_firmware/issues/1751Jody Foo2017-10-291-1/+1
|
* Fix process_combo.c compile warningShihpin Tseng2017-10-291-1/+5
|
* KC_TILD should not have been listed as an auto shift keyJeremy Cowgar2017-09-181-1/+0
|
* Added Auto Shift, tap key = normal, hold key = shifted state.Jeremy Cowgar2017-09-182-0/+196
|
* Updates send_string functionality, adds terminal feature (#1657)Jack Humbert2017-09-123-0/+304
| | | | | | | | | | | | | | | | | | | | | | * implement basic terminal stuff * modify send_string to read normal strings too * add files bc yeah. working pgm detected * pgm detection apparently not working * adds send string keycodes, additional keycode support in send string * implement arguments * [terminal] add help command * [terminal] adds keycode and keymap functions * [terminal] adds nop.h, documentation * update macro docs
* fix for toggle tap dancePtomerty2017-09-101-1/+1
|
* add UC_OSX_RALT to make unicode use the Right Alt key on OSXMarco Fontani2017-08-303-2/+9
|
* Allow steno to build when NKRO is not defined.Joe Wasson2017-08-201-5/+4
| | | | Was missing eeprom.h, MAX(), and memset.
* Wrapped process_leader.c in #ifndef DISABLE_LEADER to allow compilation with ↵Martin Sandiford2017-08-151-0/+4
| | | | DISABLE_LEADER defined.
* Rename SHIFT macro to BV_64Fredric Silberberg2017-08-081-4/+4
|
* Added support for locking One Shot modifiers.Fredric Silberberg2017-08-082-12/+31
|
* Remove hex print code.Fredric Silberberg2017-08-081-1/+0
|
* Initial implementation of the key_lock feature.Fredric Silberberg2017-08-082-0/+144
|
* tap-dance: key + layer helperGergely Nagy2017-08-022-0/+32
| | | | | | | | | This adds the `ACTION_TAP_DANCE_DUAL_ROLE` helper, which makes it easy to have keys that act as a key on the first tap, and as a layer toggle on the second. Fixes #1532, reported by @Ptomerty. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
* Add copyright to steno files.Joe Wasson2017-07-272-1/+31
|
* Add support for GeminiPR steno protocol.Joe Wasson2017-07-272-23/+96
| | | | This protocol breaks out "duplicate" keys into their own entry in the packet so that more complicated logic can be done on the software side, including support for additional languages and alternative theories.
* Add TX Bolt protocol support for StenographyJoe Wasson2017-07-272-0/+94
| | | | Requires virtser; Allows QMK to speak the TX BOlt protocol used by stenography machines and software (such as Plover). The upside is that Plover can be configured to listen only to TX Bolt allow the keyboard to switch layers without need to enable/disable the Plover software, or to have a second non-Steno keyboard work concurrently.
* adds option for alt pitch standardsJack Humbert2017-07-241-1/+5
|
* adds music mode, music mode songs, music maskJack Humbert2017-07-233-53/+99
|
* escape song playing in musicJack Humbert2017-07-231-9/+15
|
* clean-up planck and preonic keymaps, move audio stuff aroundJack Humbert2017-07-231-6/+14
|
* switched to uint8 and 16Nick Choi2017-05-291-2/+2
|