summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Use White channel on RGBW LEDs (#7678)Drashna Jaelre2019-12-314-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use White channel on RGBW LEDs Co-authored-by: kwerdenker <sebastian.spindler@gmail.com> * Manually apply white channel to array * Move where convert_rgb_to_rgbw is called * Fix type for rgbw led struct * Add changes to Ergodox EZ can revert if deemed necessary * Revert "Add changes to Ergodox EZ" This reverts commit aa44db198d40d758ca10470eb94615513592d1dd. * Revert "Fix type for rgbw led struct" This reverts commit c5c744cba040201cc0d124400773cf13f8a2cf22. * Revert "Move where convert_rgb_to_rgbw is called" This reverts commit cd7f17caf6dd30731c54b3be54490fe4519444f9. * Revert changes and fix up functions * Enable white channel for Ergodox EZ as well * Only run conversion of rgblight is enabled Co-authored-by: kwerdenker <sebastian.spindler@gmail.com>
* Add rules.mk defaults for f103,f072,f042 (#7704)Joel Challis2019-12-281-10/+104
| | | | | | | | | | | | | | * Add rules.mk defaults for f103,f072,f042 * Add rules.mk defaults for f103,f072,f042 - remove comment * Add rules.mk defaults for f103,f072,f042 - align USE_FPU * Reset MCU to avoid build issues * Move essential config values to top and remove ability for override * Align DFU_SUFFIX_ARGS order with DFU_ARGS
* Make the keyboard beep when Audio is enabled and `\a` is encountered in a ↵fauxpark2019-12-251-0/+10
| | | | sendstring
* Turn off RGB Matrix LEDs when keyboard sleeps (#7713)Drashna Jaelre2019-12-251-1/+6
|
* Add central location for ChibiOS defines (#7542)Joel Challis2019-12-212-4/+1
| | | | | | | | | | * Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
* Relocate RGB keycode processing (#7508)Joel Challis2019-12-165-181/+192
| | | | | | | | | | | | | | | | | | * Move rgb keycode logic to process_keycode * Fixes for rgb matrix * Fixes for mxss * Fix inc/dec logic, add comments * Fix return RAINBOW_SWIRL logic * stop external use of rgb helper functions * merge fix * Fix 'defined but not used' when all animations are disabled
* Merge pull request #7276 from zvecr/feature/backlight_driver_configJoel Challis2019-12-161-3/+1
|\ | | | | Convert backlight to follow driver rules pattern
| * Convert backlight to follow driver rules patternzvecr2019-12-141-3/+1
| |
* | Software backlight improvements (#7255)Joel Challis2019-12-161-7/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | * Update software backlight to precalculated duty patterns * Update default backlight state to match avr pwm * Move function to make diff look nicer
| * | Move function to make diff look nicerzvecr2019-12-141-2/+2
| | |
| * | Update default backlight state to match avr pwmzvecr2019-12-141-1/+1
| | |
| * | Update software backlight to precalculated duty patternszvecr2019-11-051-7/+30
| | |
* | | Disable usb on slave half to resolve random 'lockup' (#7649)Joel Challis2019-12-161-1/+3
| | |
* | | core: Fix variable init and header include (#7626)Drashna Jaelre2019-12-141-1/+1
| |/ |/| | | tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56
* | Fix FORCE_NKRO handling (#7601)Joel Challis2019-12-111-120/+122
| |
* | Updated slave encoder sync to reduce dropped pulses - v2 (#7505)XScorpion22019-12-071-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update custom_encoder.c * Update rules.mk * Iris r4 fix * More fixes for Iris & Kira * Fix for right master encoders
* | Set proper AVR part for USBasp avrdude flashing (#7552)fauxpark2019-12-071-0/+6
| | | | | | | | | | | | | | | | | | | | * Set proper AVR part for USBasp avrdude flashing * Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore * Missed the Plaid readme * Remove PROGRAM_CMD from Mysterium
* | Fix breathing toggle when rgb is disabled (#7550)Joel Challis2019-12-061-5/+5
| |
* | Add short aliases for Magic keycodes (#7541)fauxpark2019-12-051-3/+32
| | | | | | | | | | | | | | | | * Add short alias for `MAGIC_TOGGLE_NKRO` * Add aliases for the other Bootmagic keycodes * Replace long form in default keymaps
* | Relocate magic keycode processing (#7512)Joel Challis2019-12-034-154/+203
| | | | | | | | | | | | | | | | | | | | | | | | * Move magic keycode processing to own file * Save some bytes * Update comments * Update define to one thats not already used... * Fix audio
* | Remove check for EH define (#7525)Danny2019-12-023-3/+3
| | | | | | Its use in lets_split_eh was factored out in https://github.com/qmk/qmk_firmware/pull/6411
* | Add shift-to-invert to remaining directional RGB_* keycode pairs (#7484)Manna Harbour2019-11-281-8/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add shift-to-invert to remaining directional RGB_* keycode pairs RGB_MODE_FORWARD / RGB_MODE_REVERSE invert their functions when shift is held. This change adds the same capabilities to the remaining directional RGB_* keycode pairs. This improves consistency and provides full RGB control in a keymap containing only one keycode from each pair. * remove redundant variable * fix typo * Fix more typos Flyspell is on now I swear!
* | Compile out some keycode processing when features are disabled (#7506)Joel Challis2019-11-282-11/+17
| |
* | Revert split encoder fixes until able to repro a better fix (#7498)XScorpion22019-11-271-25/+11
| | | | | | Temporarily removing to avoid disabling split keyboards with Rotary Encoders, irisv3/4 and Sol, while @XScorpion2 works on a more permanent fix.
* | clean up quantum.c (#7485)Yan-Fa Li2019-11-271-173/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * idea * progress * more stuff * wip * wip * last couple of keycodes you can move safely * Update quantum/quantum.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Put back RGB_MODE_BREATHE
* | Send string keycode tweaks (#7471)fauxpark2019-11-254-25/+35
| |
* | [Core] Remove PROGRAM_CMD in mcu_selection.mk for 32A (#7482)fauxpark2019-11-251-3/+0
| |
* | Add 4-character aliases for sendstring keycodes (#7409)fauxpark2019-11-221-204/+339
| | | | | | | | | | | | | | | | * Add 4-character aliases for sendstring keycodes * Remove pointless mail keycode redefinition * Forgot brightness keycodes
* | [Core] Fix ps2avrgb template (#7412)Erovia2019-11-191-1/+1
| |
* | Run clang-format manually to fix recently changed fileszvecr2019-11-1713-157/+159
| |
* | Updated slave encoder sync to reduce dropped pulses (#7325)XScorpion22019-11-151-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update custom_encoder.c * Update rules.mk
* | Fix the RGB_MATRIX_RAINBOW_PINWHEELS animation (#7365)Richard Baptist2019-11-151-3/+3
| | | | | | | | The internal naming was `PINWHEELS` instead of `RAINBOW_PINWHEELS` causing a mismatch between animation definition and the function.
* | [Core] Cleanup rules.mk for F303 keyboards (#7306)fauxpark2019-11-141-4/+4
| | | | | | | | | | | | * Cleanup rules.mk for F303 keyboards * Fix small typo
* | Set device version from config.h for V-USB boards (#7316)fauxpark2019-11-151-1/+1
| |
* | Add support for configurable polling interval and power usage o… (#7336)fauxpark2019-11-151-10/+0
| | | | | | | | | | | | * Add support for custom polling interval and power usage on V-USB boards * Use 1ms as default for now
* | disable deprecated actions (#7211)Stephen Hogsten2019-11-122-2/+11
| | | | | | | | | | | | | | | | * disable deprecated actions * wrap no action with link time optimization test * fix link time optimization check
* | Remove force of debug on within rgblight - causes lockups waiting for ↵Joel Challis2019-11-111-1/+0
| | | | | | | | hid_listen (#7330)
* | Unify RGB and RGBW commands (#7297)Drashna Jaelre2019-11-092-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix unicode in comments Co-Authored-By: fauxpark <fauxpark@gmail.com> * Remove separate RGBW implementation for a unified function * Set White to 0 in RGBW LEDs This is just to get this working, later, proper brightness can be handled elsewhere. * Use us instead of nanoseconds(?) since it renders correctly on web * Remove RGBW function from arm/ws2812.h * Remove RGBW function from arm/ws2812.c * Formatting changes * Add doc info
* | ARM - ws2812 bitbang (#7173)Joel Challis2019-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial ARM bitbang ws2812 driver * Unify chibios platform to run rgblight_task * Remove 'avr only' comments from ws2812 docs * Remove 'avr only' comments from ws2812 docs * Unify chibios platform to run rgblight_task - review comments * Remove debug flags from keymap * Add comments from review * Add defines for STM32L0XX * Attempt to get arm ws2812 working on multiple gcc versions
* | New and improved lock LED callbacks (#7215)fauxpark2019-11-064-4/+27
| | | | | | | | | | | | | | | | | | | | * New and improved lock LED callbacks * Include stdbool * Update documentation * Use full function signatures and add keyboard-level example
* | [Core] Convert Dynamic Macro to a Core Feature (#5948)Drashna Jaelre2019-11-046-22/+330
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert Dynamic Macro to a Core Feature This imports the code from Dynamic Macro into the core code, and handles it, as such. This deprecates the old method but does not remove it, for legacy support. This way, no existing user files need to be touched. Additionally, this reorganizes the documentation to better reflect the changes. Also, it adds user hooks to the feature so users can customize the existing functionality. Based heavily on and closes #2976 * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Cleanup based on feedback * Add short-form keycodes and document them - add short-form keycodes to quantum/quantum_keycodes.h - document the new aliases in docs/feature_dynamic_macros.md * Add Dynamic Macros section and keycodes to docs/keycodes.md * Make anti-nesting optional * Add documentation for DYNAMIC_MACRO_NO_NESTING option * Fix Merge artifacts * Fix formatting typo in docs Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Remove DYNAMIC_MACRO_RANGE as it's not needed * Fix includes and layer var type
* Remove duplicate pro_micro.h (#7246)fauxpark2019-11-031-1/+0
|
* Smallish overhaul of Auto-Shift feature (#6067)Drashna Jaelre2019-11-032-95/+34
| | | | | | | | | | | | | * Fix edge case when using One Shot Layer with Auto Shift, and it not triggering the cleanup * Remove junk code (no longer used) * Replace `(un)register_code` calls with `tap_code` where appropriate * Fixed up Switch check to be more readable (less verbose) * Simplified modifier check (if it comes back non-zero, there are mods) * Add additional function calls for autoshift settings * Made all variables static, since there are function calls to get their status * Fixed up documentation * Re-add special characters that were missed * formatting pass
* Use task driven PWM for CTPC until ARM can provide automatic configuration ↵Joel Challis2019-11-021-1/+5
| | | | | | | | (#6928) * Use task driven PWM for CTPC until ARM can provide automatic configuration * Update CTPC docs to cover backlight
* Initial migration of software PWM backlight (#6709)Joel Challis2019-11-024-8/+74
| | | | | | | | | | | | * Initial migration of software PWM backlight * First pass at backlight driver docs * Correct driver name in docs * Run backlight_task when using BACKLIGHT_PINS * Resolve backlight docs TODOs
* Template updates (#7221)fauxpark2019-11-019-85/+67
| | | | | | | | | | * Template updates * Flesh out info.json & keymap.c, and turn double spaces section into a list * Add enum to demonstrate layer naming * Semicolon
* Refactor ps2avrgb i2c ws2812 to core (#7183)Joel Challis2019-10-292-41/+1
| | | | | | | | | | | | | | | | | | | | * Refactor ps2avrgb i2c ws2812 to core * Refactor jj40 to use ws2812 i2c driver * Refactor ps2avrgb template to use ws2812 i2c driver * Add ws2812 stub files * clang-format and driver config * Add ws2812 driver docs * Fix default config values * Update tmk_core/protocol/vusb/main.c Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Reduce duplication for ARM/AVR ws2812 RGB Matrix driver (#7180)Joel Challis2019-10-291-4/+18
| | | | | | * Reduce duplication for ARM/AVR ws2812 rgb_matrix driver * Reduce duplication for ARM/AVR ws2812 rgb_matrix driver - Fix setled_all use of r,g,b
* Fix formatting for sendstring LUTs (#7176)fauxpark2019-10-2811-178/+403
|
* Fix Tap Dance name for consistency and to match docs (#7136)Drashna Jaelre2019-10-241-1/+1
|