summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
Commit message (Collapse)AuthorAgeFilesLines
* Mask off keycode/layer/mod where possible in LT(), MT(), etc. (#3430)fauxpark2018-08-291-44/+44
| | | | | | | | * Mask off keycode/layer/mod where possible in LT(), MT(), etc. * Don't need these parentheses * Put back parentheses for order of operations
* Add rgblight mode 35 (R,G,B test mode) (#3114)Takeshi ISHII2018-06-041-0/+2
| | | | | | | | * add rgblight mode 35 (RGB cyclic mode) into quantum/rgblight.c * Update docs, add rgblight mode 35(RGB cyclic) * rename RGBCYCLIC to RGBTEST
* Add effect speed support for RGB Matrix *No EEPROM yet* (#2922)yiancar2018-05-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Modular keyboards L,R and NUM Created code modules for the 3 modules of the modular keyboard. Original idea by MechboardsUK. Uses i2c implementation similar to lets split * Remove modular from master This is to fix incorrect branching * Add effect speed support for RGB Matrix *No eeprom yet* Keycodes RGB_SPI and RGB_SPD have been added to increase and decrease effect speed. Speed is not saved in EEPROM yet as per Jack's request. * Update rgb_matrix.c * RGB Matrix speed fix rgblight.h * More fixes for rgb speed. Speed functions declared but not used in rgblight * More travis fixes.. * Another one for travis..
* Add Faux Clicking as subset of Audio feature (#2748)Drashna Jaelre2018-04-191-0/+11
| | | | | | | | | | * 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/+3
| | | | | | | | | | | 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)
* Add macro for momentarily switching to a layer while some mods are active ↵snyman2018-03-201-0/+5
| | | | | | | | | | | | | (#2460) * Macro for a momentary layer switch with mods Passes through to the existing ACTION_LAYER_MODS macro, albeit with more limited options due to lack of space in the quantum_keycodes enum. * Add documentation for LM layer-mod macro * Clean up Tap Toggle documentation
* Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.fauxpark2018-03-161-0/+10
|
* Add keycodes for swap-hands feature.Joe Wasson2018-03-161-0/+14
|
* Fix the SGUI aliasesskullY2018-03-011-4/+4
|
* Add `SGUI()` and `SGUI_T()` for consistency with `KC_GUI` (#2442)skullydazed2018-03-011-2/+4
| | | | | | | | * Add `SGUI()` as an alias of `SCMD()` for consistency with `KC_GUI` * Add `SGUI_T()` as an alias of `SCMD_T()` for consistency with `KC_GUI` * Make SGUI the primary name
* backlight breathing overhaul (#2187)Balz Guenat2018-01-011-19/+3
| | | | | | | | | | | | | | | | | | | | * add breathing to bananasplit * backlight breathing overhaul * fix the backlight_tick thing. * fix for vision_division backlight * fix a few keymaps and probably break breathing for some weirdly set-up boards. * remove BL_x keycodes because they made unreasonable assumptions * some fixes for BL keycodes * integer cie lightness scaling * use cie lightness for non-breathing backlight and make breathing able to reach true max brightness
* Add on/off/toggle keycodes for Auto ShiftDrashna Jael're2017-12-201-2/+2
|
* Add toggle option to AutoShiftU-LANDSRAAD\drashna2017-12-201-0/+3
|
* new planck keymap, new feature - hybrid shift/enter action key (great for ↵Zach Richard2017-12-141-0/+3
| | | | | | | | small keyboards!) (#2100) * new planck keymap, new feature - hybrid shift/enter action key (great for small keyboards!) * corrected documentation to specify rules.mk file instead of Makefile
* fix up midi stuff w/music modeJack Humbert2017-12-101-2/+3
|
* adds 'RGB_RMOD' to go through RGB modes in reverseColin T.A. Gray2017-12-041-2/+6
|
* Added a new keycode for cycling through RBG modes which reverses directions ↵Sebastian Kaim2017-10-241-0/+1
| | | | | | | when shift is hold. This commit adds a new keycode `RGB_SMOD` which is the same as `RGB_MOD` (cycle through all modes), but when it is used in combination with shift it will reverse the direction.
* Added Auto Shift, tap key = normal, hold key = shifted state.Jeremy Cowgar2017-09-181-0/+5
|
* Updates send_string functionality, adds terminal feature (#1657)Jack Humbert2017-09-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | * 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
* RGB improvements (#1684)skullydazed2017-09-061-0/+16
| | | | | | | | | | | | * Allow the knight animation to be restricted to a portion of the LED strip * Add keys for jumping directly to particular animation modes * Remove orphaned break statements * Tweak the `RGB_MODE` buttons so they cycle through the same mode. * small indentation fix
* Initial implementation of the key_lock feature.Fredric Silberberg2017-08-081-0/+4
|
* Move steno keycodes due to conflict with another PR.Joe Wasson2017-07-271-4/+4
|
* Add support for GeminiPR steno protocol.Joe Wasson2017-07-271-0/+2
| | | | 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-271-0/+4
| | | | 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 music mode, music mode songs, music maskJack Humbert2017-07-231-0/+3
|
* clean-up planck and preonic keymaps, move audio stuff aroundJack Humbert2017-07-231-0/+4
|
* Adds parenthesis where they might be neededJack Humbert2017-06-271-2/+2
| | | Addresses #764
* Added Grave Escape (#1391)jamesofarrell2017-06-161-0/+3
| | | | | | | | | | * added QK_GRAVE_ESC and KC_GESC * fixed name * Fixed keycode emnu * Removed layer check, added left and right GUI mod detection for OSX GUI+~
* Clarify the quantum license (#1042)skullydazed2017-03-281-0/+15
| | | | | | | | | | * Clarify the license for files we have signoff on * Update against the currently signed off files * Remove unused and not clearly licensed headers * Replace an #endif I accidentally removed while resolving merge conflicts
* Merge pull request #1112 from newsboytko/newsboytko/midi-keycodesJack Humbert2017-03-281-7/+234
|\ | | | | Flesh out MIDI support
| * Update existing keymapsGabriel Young2017-02-251-14/+14
| | | | | | | | | | | | Update existing keymaps to enable MIDI_BASIC functionality. Also added an option MIDI_ENABLE_STRICT to be strict about keycode use (which also reduces memory footprint at runtime)
| * Split MIDI functionality into MIDI_BASIC and MIDI_ADVANCEDGabriel Young2017-02-251-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIDI_ENABLE = no text data bss dec hex filename 0 17080 0 17080 42b8 satan_midi.hex MIDI_ENABLE = yes MIDI_BASIC undefined MIDI_ADVANCED undefined text data bss dec hex filename 0 19494 0 19494 4c26 satan_midi.hex MIDI_ENABLE = yes #define MIDI_BASIC MIDI_ADVANCED undefined text data bss dec hex filename 0 19788 0 19788 4d4c satan_midi.hex MIDI_ENABLE = yes MIDI_BASIC undefined #define MIDI_ADVANCED text data bss dec hex filename 0 20846 0 20846 516e satan_midi.hex MIDI_ENABLE = yes #define MIDI_BASIC #define MIDI_ADVANCED text data bss dec hex filename 0 21140 0 21140 5294 satan_midi.hex
| * Allow customization of the number of tone keycodes and add example keymapGabriel Young2017-02-191-0/+84
| |
| * add keycodes for transpose rangeGabriel Young2017-02-191-0/+18
| |
| * implement modulationGabriel Young2017-02-191-1/+5
| |
| * add support for pedal cc messagesGabriel Young2017-02-191-5/+6
| |
| * initial implementation of polyphony using variable length array of notes onGabriel Young2017-02-191-0/+1
| |
| * Expand MIDI key codesGabriel Young2017-02-191-1/+113
| |
* | Refactor Bluetooth HandlingTravis La Marr2017-03-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored Bluetooth support to make adding new Bluetooth modules easier in the future. * Remove `OUT_BLE` key from QMK's keymap. `OUT_BT` is all we need now as there's no difference anymore. * Made BLUETOOTH_ENABLE build option legacy as not to break existing keymaps (Falls back to existing EZ Key support if on) * Removed `ADAFRUIT_BLE_ENABLE` build option * Created new build option `BLUETOOTH` with module option (Currently `AdafruitEZKey` & `AdafruitBLE`) * Moved all LUFA bluetooth key/mouse events under `BLUETOOTH_ENABLE` ifdef with selected modules output.
* | Left control and altLukas Stiebig2017-03-081-0/+2
|/ | | | Use the left control and the left alt key.
* give error if both unicode/map are enabledJack Humbert2017-02-151-0/+3
|
* adds layer tap toggleJack Humbert2017-02-151-4/+9
|
* Add keycodes to turn on, turn off and toggle faux clickyPriyadi Iman Nurcahyo2017-02-131-0/+7
|
* Make room for 'loose keycodes' by halving UNICODE_MAP rangePriyadi Iman Nurcahyo2017-02-111-2/+2
|
* Implement tap mod dual role for right side mods.Priyadi Iman Nurcahyo2017-02-101-7/+21
|
* Merge pull request #1046 from LukeSilva/masterJack Humbert2017-02-071-0/+2
|\ | | | | Add Tapping Macros to QMK
| * Add support for various tapping macrosLuke Silva2017-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Add ability to use tap macros without using functionsLuke Silva2017-01-271-0/+1
| |
* | Merge pull request #1057 from priyadi/selectable_outputJack Humbert2017-02-071-0/+10
|\ \ | | | | | | Implement runtime selectable output (USB or BT)
| * | Add layer switcher keycodes: OUT_AUTO, OUT_USB, OUT_BT, OUT_BLEPriyadi Iman Nurcahyo2017-02-011-0/+10
| |/