summaryrefslogtreecommitdiff
path: root/quantum
AgeCommit message (Collapse)Author
2020-03-07Backlight - Carve out a better location for private driver functionality (#8329)Joel Challis
* rename backlight_soft to match rules.mk * rename backlight_soft to match rules.mk - update common_features * Carve out a better location for private driver backlight functionality
2020-03-06Remove unused LED_BREATHING_TABLEzvecr
2020-03-06Refactor more backlight to a common location (#8292)Joel Challis
* Refactor more backlight to a common location * BACKLIGHT_PIN not defined for custom backlight * align function names
2020-03-03Update Hungarian keymap and add sendstring LUT (#8220)Ryan
2020-03-03Reduce PROGMEM usage for sendstring LUT (#8109)Ted M Lin
* Reduce PROGMEM usage for keycode map Bit-pack the keycode bool array to gain back a small amount of flash space. The trade-off is an increase in runtime instructions when running macros. It does make the code a bit harder to read, as well as maintain. For configs that use send_string() et al, it saves ~100 bytes. * Switch to macro and common definition Rewrite the array declarations so both the unpacked (original) and packed LUT arrays can use the same value definitions. This is done by defining a macro that "knows what to do". This makes the code much easier to read and maintain. * Fix macro typos and improve perf Pack the bits in a more efficient order for extraction. And also fix the copy/paste error in the macro... * Switch fully to packed LUT Some minor reformatting. Compile tested all sendstring_xyz.h to make sure they were converted properly. Also checked that an unconverted version would generate a compile error. * Apply whitespace suggestions from code review Co-Authored-By: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-01Prune out pure software pwm && custom driver && remove wrapping ↵Joel Challis
BACKLIGHT_PIN (#8041)
2020-03-01Fix recent clang-format breaking quantum.c (#8282)Joel Challis
2020-03-01format code according to conventions [skip ci]QMK Bot
2020-03-01Remove duplicate BRTG case (#8277)Ryan
2020-02-292020 February 29 Breaking Changes Update (#8064)James Young
2020-02-27Add support for delays in send_string. (#8244)Nick Brassel
2020-02-25Split - Avoid race condition during matrix_init_quantum (#8235)Joel Challis
* Avoid race condition during matrix_init_quantum * spelling is hard
2020-02-25`send_unicode_string()`: Add support for code points > 0xFFFF (#8236)Ryan
2020-02-24A proper `send_string()` for the Unicode feature (#8155)Ryan
2020-02-23Add mouse support to SEND_STRING (#8223)Joel Challis
* Add mouse support to SEND_STRING * add short forms
2020-02-21Add Danish keymap and sendstring LUT (#8218)Ryan
2020-02-21Add Turkish keymap aliases and sendstring LUT (#7676)Ryan
* Add Turkish keymap aliases and sendstring LUT * Split into F and Q layouts
2020-02-21Add Arm Teensys to mcu_selection.mk (#8026)Ryan
* Add Arm Teensys to mcu_selection.mk * Roll back halfkeyboard keymap changes * Remove extra newline
2020-02-21Allow 30us matrix delay to be keyboard/user overridable (#8216)Joel Challis
* Allow 30us matrix delay to be configurable via define * Move wait logic to matrix_common * Move wait logic to matrix_common - fix wait includes
2020-02-17dynamic keymap sanity check (#8181)Wilba
2020-02-16Convert f072 backlight build error to message (#8177)Joel Challis
2020-02-13Fix RESET keycode on some STM32F072 keyboards (#8134)Joel Challis
* Add f072 board files with 'enter_bootloader_mode_if_requested' support * rename default f072 board file to GENERIC_STM32_F072XB * Remove board files * Add bootloader def * Update generic f072 board paths * Revert wrong deletion
2020-02-12Align split_common/matrix.c with matrix.c (#8153)Joel Challis
2020-02-04Reduce SPLIT_USB_TIMEOUT by 500ms (#7637)Joel Challis
* Update SPLIT_USB_TIMEOUT -500ms * Align keyboard level SPLIT_USB_TIMEOUT defaults * Align keyboard level SPLIT_USB_TIMEOUT_POLL * Review fixes
2020-02-04Relocate grave keycode processing (#8082)Joel Challis
* Relocate grave keycode processing * Tidy up code * Refactor grave -> grave_esc
2020-01-26Ensure setPinInput actually sets input high-Z (#6237)Mikkel Jeppesen
* Ensure setPinInput actually sets input high-z * Fixed _PIN_ADDRESS Macro arguments as recommended by vomindoraan * Fixed instances of setInput to use new behavour * Changed kmac matrix to use input with pullups * Update keyboards/gh60/revc/revc.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fixed input state for unselect_rows * fixed merge conflict * Updated all instances of older uses of setPinInput() * Fixed naming mistake Co-authored-by: fauxpark <fauxpark@gmail.com>
2020-01-24Update split serial code to use driver pattern (#7990)Joel Challis
* Move avr serial code to drivers * Update src+= serial.c to driver pattern
2020-01-24Add customisable EEPROM driver selection (#7274)Nick Brassel
- uprintf -> dprintf - Fix atsam "vendor" eeprom. - Bump Kinetis K20x to 64 bytes, too. - Rollback Kinetis to 32 bytes as partitioning can only be done once. Add warning about changing the value. - Change RAM-backed "fake" EEPROM implementations to match eeconfig's current usage. - Add 24LC128 by request.
2020-01-20format code according to conventions [skip ci]QMK Bot
2020-01-20Add VIA support for QMK backlight, QMK RGBLight (#7911)Wilba
* Add VIA support for QMK backlight, QMK RGBLight * clang-format changes
2020-01-19Remove all references to "CUSTOM_MATRIX" as a diode direction (#7937)fauxpark
2020-01-19Run clang-format manually to fix recently changed files (#7934)Joel Challis
* Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
2020-01-19Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards (#7915)fauxpark
* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards * Define diode direction for failing boards * Matching parentheses * Put onekey diode directions in top level config
2020-01-19Move rgblight and backlight task to common location (#7733)Joel Challis
2020-01-18Configuration values for starting HSV and speed (#7740)Rob Haswell
* Define default HSV and speed for RGB matrix. * Documentation for configuration values RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT and RGB_MATRIX_STARTUP_VAL. * Document RGB_MATRIX_STARTUP_SPD. * Preserve the ordering.
2020-01-17switching to you know whats up mode (#7921)Jeremy Bernhardt
2020-01-15Fix CUSTOM_MATRIX lite matrix_scan return code (#7908)Joel Challis
2020-01-15Migrate more custom matrix 'lite' code to core (#7863)Joel Challis
* Migrate more custom matrix lite code to core * Align function names * fix up MATRIX_MASKED
2020-01-13Relocate common backlight functionally (#7273)Joel Challis
2020-01-07RGB matrix effect - left-right gradient (#7742)Rob Haswell
* Left-right gradient. * Update the comment to match the new functionality. * CPP does integer division so this round is not necessary. * The x-range is actually 224, update comment and use bit-shifting again. * Update docs with gradient left-right effect and associated "DISABLE" option.
2020-01-04Move some common matrix code to a common location (#7699)Joel Challis
* Move some common matrix code to a common location * Refactor some 'custom_matrix_helper' logic to use custom matrix lite * Fix build for kinesis/stapelberg - abuse of vpath was picking up matrix.c from core when custom matrix was enabled * Add validation for CUSTOM_MATRIX
2020-01-03VIA Configurator Refactor (#7268)Wilba
* VIA Refactor * Remove old code * review changes * review changes * Fix cannonkeys/satisfaction75/prototype:via build * Add via.h to quantum.h * Move backlight init to after backlight config load * Merge branch 'master' into via_refactor_pr * Update user's rules.mk to new way of enabling VIA * Added id_switch_matrix_state * Review changes
2019-12-31Use White channel on RGBW LEDs (#7678)Drashna Jaelre
* 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>
2019-12-28Add rules.mk defaults for f103,f072,f042 (#7704)Joel Challis
* 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
2019-12-25Make the keyboard beep when Audio is enabled and `\a` is encountered in a ↵fauxpark
sendstring
2019-12-25Turn off RGB Matrix LEDs when keyboard sleeps (#7713)Drashna Jaelre
2019-12-21Add central location for ChibiOS defines (#7542)Joel Challis
* 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
2019-12-16Relocate RGB keycode processing (#7508)Joel Challis
* 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
2019-12-16Merge pull request #7276 from zvecr/feature/backlight_driver_configJoel Challis
Convert backlight to follow driver rules pattern
2019-12-16Software backlight improvements (#7255)Joel Challis
* Update software backlight to precalculated duty patterns * Update default backlight state to match avr pwm * Move function to make diff look nicer