summaryrefslogtreecommitdiffstats
path: root/quantum
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25Fix indentation in quantum_keycodes.h (#5221)Konstantin Đorđević1-30/+29
2019-02-24Fix Tx Bolt ghosting second character on key press (#5229)Tobias Schulte1-22/+24
* convert tabs to spaces * fix #4578: don't call gemini protocol code when in bolt mode Add missing break; statements in switch. The missing break resulted in a fall through and an additional processing of the gemini code.
2019-02-22fix rgblight_effect_breathing interval time (#5213)Takeshi ISHII1-1/+1
2019-02-21Velocikey: Match RGB animation speed to typing speed (#3754)Chris Lewis5-6/+113
* Draft commit of typing speed RGB control * More information in the readme * Support all RGB animation modes (Fixes #1) * Added support for all RGB light modes to use typing speed Except christmas lights because that is seizure-inducing at high speeds! * Introduced a value range specific to each RGB mode Because some modes are a little too much when running at full speed! * Update readme.md * Update readme.md * Re-arrange typing_speed definitions (Fixes #5) (#6) * Re-arrange variable definitions to avoid including quantum.h from rgblight.c * Fix a compilation error when trying to run make test:all * Tweaks to the typing speed decay rate * Renamed to momentum; moved implementation into dedicated files * Groundwork for toggling momentum on/off (currently always on) * Add EEPROM toggle for momentum-matching * Moved momentum out of RGBLIGHT_ENABLE toggles so it's more generic * Move momentum decay task out of rgblight_task() * Fix missing momentum.h in lufa.c * Experimental LED support (untested) * Draft commit of typing speed RGB control * More information in the readme * Support all RGB animation modes (Fixes #1) * Added support for all RGB light modes to use typing speed Except christmas lights because that is seizure-inducing at high speeds! * Introduced a value range specific to each RGB mode Because some modes are a little too much when running at full speed! * Update readme.md * Update readme.md * Re-arrange typing_speed definitions (Fixes #5) (#6) * Re-arrange variable definitions to avoid including quantum.h from rgblight.c * Fix a compilation error when trying to run make test:all * Tweaks to the typing speed decay rate * Renamed to momentum; moved implementation into dedicated files * Groundwork for toggling momentum on/off (currently always on) * Add EEPROM toggle for momentum-matching * Moved momentum out of RGBLIGHT_ENABLE toggles so it's more generic * Move momentum decay task out of rgblight_task() * Fix missing momentum.h in lufa.c * Added documentation * Renamed feature to velocikey * Reverted readme to original state * Correct the readme title * Updated feature name in the docs * Update EECONFIG name * Add compile-time toggles for velocikey * Update feature documentation * Revert "Merge branch 'led-support' into master" This reverts commit e123ff5febf61639b9a9020748e1c2e2313460ff, reversing changes made to df111a55b9d4929182e16108b1c0ead15b16df97. * Move velocikey EECONFIG definition to depend on VELOCIKEY_ENABLE * Rename decay_task function to decelerate * Apply suggestions from code review Co-Authored-By: chrislewisdev <chris@chrislewisdev.com> * Re-order eeconfig definitions * Apply coding conventions * Apply #ifdef check in lufa.c * Refactored interval time checks into one functionc * Small rename * Fix unused function error for layouts not using all rgb effects * Only update EEPROM if Velocikey is enabled * Incorporate code review feedback * Small adjustment to top-end decay rate * Add Velocikey documentation to table of contents * Bring tetris:default keymap size down by disabling audio
2019-02-18Fix `quantum/split_common/matrix.c: select_col()/select_row()` (#5174)Takeshi ISHII1-2/+2
* add temporary pdhelix(Patched Helix) code * add test code into quantum/split_common/matrix.c * add test code into keyboards/handwired/pdhelix/ * Revert "add test code into keyboards/handwired/pdhelix/" This reverts commit 9ed98f0797ddd962c99756689fc4ecb4cd067d3d. * Revert "add test code into quantum/split_common/matrix.c" This reverts commit 1876d3ed69f6c213153a9f6476192be839f16c1f. * Revert "add temporary pdhelix(Patched Helix) code" This reverts commit 41ac92b814e3f894eaf85bc3e5bb945895342fa8. * fix quantum/split_common/matrix.c: select_col()/select_row()
2019-02-18Stop all notes on startup, if there is no song and audio is disabled to ↵Drashna Jaelre1-0/+2
prevent continouse tone (#5173)
2019-02-18Fix Audio Clicky by adding missing punctuation (#5171)Drashna Jaelre1-1/+1
2019-02-18Remove CUSTOM_MATRIX option from diode direction (#5090)zvecr1-1/+1
* Remove CUSTOM_MATRIX refs from DIODE_DIRECTION * Remove '#define DIODE_DIRECTION CUSTOM_MATRIX' * Remove CUSTOM_MATRIX refs from DIODE_DIRECTION documentation
2019-02-18Add UK variant of the SEND_STRING() LUTsRys Sommefeldt1-0/+62
2019-02-18Change Command keycode defaults to match corresponding Bootmagic codes (#5078)Konstantin Đorđević1-5/+6
* Change Command keycode defaults to match corresponding Bootmagic codes * Make alternate magic key keycodes consistent * Reflect changes from previous commit in tmk_core/common/command.c * Remove unnecessary MAGIC_KEY_* definitions from keymaps compatible with these changes * Swap E and BSPACE for MAGIC_KEY_EEPROM * Add MAGIC_KEY_EEPROM_CLEAR instead of MAGIC_KEY_EEPROM_ALT * Remove BOOTMAGIC_ENABLE checks around EECONFIG stuff * Update Command descriptions
2019-02-18Move RGBLIGHT_LIMIT_VAL definition from rgblight.c to rgblight.h (#5167)Konstantin Đorđević2-4/+3
2019-02-17Haptic feedback generalized - DRV2605 and solenoids (#4939)ishtob3-19/+50
* initial work to add eeprom to haptic feedback and decouple the feedback process from keyboards * Haptic feedback enhancements: on/off toggle working, feedback order working todo: -work on modes switching -get modes switching to save to eeprom * haptic enhancement - eeprom and modes added * Added set and get functions for haptic feedback * initial implementation of solenoids under haptic feedback * changed eeprom to 32 bits to reserve blocks for future features * start documentation of haptic feedback * change keycode per comment from reviewers * typo fixes * added eeprom for solenoid configs * added solenoid and docs * Add/fix default parameters configs, improve docs * more doc cleanup * add in solenoid buzz toggle, clean up doc * some fixes for error in compiling solenoid * fix a chibios specific i2c read function and added one for AVR controllers in DRV2605L.c * fixes for avr side issues * update keymap * fix keymap compile error * fix bugs found during solenoid testing * set pin that is not powered during bootloader * added warning about certain pins on the MCU may trip solenoid during DFU/bootloader
2019-02-15Add support for using ranges for RGB (#4981)Erovia2-0/+42
* Add support for using ranges for RGB This patch adds support for controlling continuous ranges of RGB LEDs. Helper functions for split boards are also available. * RGB Range: Use hardware-platform agnostic wait
2019-02-15Improve RGB Light code (#4326)Drashna Jaelre2-2/+45
* Improve RGB Light code * Add is_rgblight_initialized as an externed value in rgblight.h * Use remander of hue
2019-02-15Remove problematic unicode_map stub definition in process_unicodemap.c (#5110)Konstantin Đorđević2-3/+2
* Remove problematic unicode_map stub definition in process_unicodemap.c * Add unicode_map declaration to process_unicodemap.h * Disable UNICODEMAP on converter boards that don't use it
2019-02-15Debounce refactor / API (#3720)Drashna Jaelre6-81/+210
* Added xeal60 via clone of lets split * Delete removed other keymaps * Basic keymap (no FN). Compiles. * Removed NP_STAR and NP_SLSH. * Removed "debounce_algo = manual" in all keyboards with CUSTOM_MATRIX = yes. * Changed order of rules in TMK. Documented feature. * Fixed missing whitespace in debounce documentation Table wasn't working due to missing newline. * Added bold in a few areas. * DO NOT USE - Removed debounce from TMK. * Remove accidental xeal60 commit * DO NOT USE - debounce successfully compiled. * DO NOT USE Revert back to original API to support split_keyboards. * Working eager_pk * Whitespace cleanup. * Restored debounce.h since there wasnt any real change. * Moved debouncing_time variable to inside #if debounce * Removed check for custom_matrix. We can safely include the debounce file for compilation when custom_matrix is used. * Removed #include "matrix.h" from debounce.h * Bug fix - was using MATRIX_ROWS instead of num_rows * Fixed compilation error with debounce_sym_g * Renamed DEBOUNCE_ALGO to DEBOUNCE_TYPE * Malloc array in debounce_eager_pk, since split keyboards only use MATRIX_ROWS/2. * Fix compile error in debounce_eager_pk * Stricter, leaner DEBOUNCE_TYPE section in common_features.mk. Cleanup debounce_type.mk
2019-02-15Fix ARM Audio issues and its EEPROM persistence (#4936)Drashna Jaelre2-316/+322
* Don't click if turning audio off On ARM, playing the click when turning off audio causes the audio get stuck and continually play the tone * Fix Audio EEPROM support for ARM * Update touched files to conform to QMK Coding Conventions * Add better check for ARM EEPROM support
2019-02-11fix the led_matrix.h naming conflictskullY4-3/+3
2019-02-11Put back an accidentally stripped copyrightskullY1-1/+2
2019-02-11cleanupskullY1-2/+2
2019-02-11fix compiling for backlight without led matrixskullY1-1/+1
2019-02-11cleanupskullY1-39/+37
2019-02-11Move the 1 second delay to led_matrix_initskullY1-18/+6
2019-02-11led_matrix works nowskullY3-28/+25
2019-02-11compiles, but long delay on startup and problemsskullY5-59/+63
2019-02-11revert accidental rgb_matrix.h changesskullY1-2/+10
2019-02-11The beginning of a simple led matrix driver for is31fl3731skullY4-10/+695
2019-02-06Fix Bootmgic Mod Handling for LM keycodes (#4740)Drashna Jaelre1-1/+1
2019-02-05Improvements to Space Cadet Shift (#3856)Anthony1-2/+35
* Improvement of Space Cadet Shift by preventing to automatically apply a modifier on the key and allow to override the default modifier. Closes qmk/qmk_firmware#3815 * Improve the use of the DISABLE_SPACE_CADET_MODIFIER flag to avoid unregistering KC_LSFT when equals to LSPO_MOD * change #if to if statement
2019-02-05Fix QWERTZ <> QWERTY issue in sendstring_german.hFlugschwein1-2/+2
Small mistake that caused sendstring commands to exchange y with z.
2019-01-29Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769)Rockman181-0/+18
* [BACKLIGHT_CAPS_LOCK_INDICATOR] Use backlight toggling as Caps Lock LED I've implemented this feature because S65-X doesn't have LED indicators and the existing led_set_kb(usb_led) function try to use backlight as indicator but that creates an inconsistency with backlight_config state. - define `BACKLIGHT_CAPS_LOCK_INDICATOR` to enable Caps Lock indicator using backlight (for keyboards without dedicated LED) - Don't turn off LED indicators when suspend because backlight is already turned off. Else led_set(0) will turn back on backlight. - Documentation has been updated * [BACKLIGHT_CAPS_LOCK_INDICATOR] Turn off all LED indicators except Caps Lock if BACKLIGHT_CAPS_LOCK_INDICATOR * [BACKLIGHT_CAPS_LOCK] Rename BACKLIGHT_CAPS_LOCK_INDICATOR * [BACKLIGHT_CAPS_LOCK] Use new IS_LED_ON method
2019-01-29Practice60 RGB and PWM Backlight (#4929)Andrew Kannan1-3/+8
* Update Practice60 to enable RGB via SPI DMA and use PWM backlight breathing * Correct stm32f103c8t6 flash size in eeprom definition * Remove unused files and improve ifdef checks * Update quantum/rgblight.c Co-Authored-By: awkannan <andrew.kannan@klaviyo.com> * Update quantum/rgblight.c Co-Authored-By: awkannan <andrew.kannan@klaviyo.com> * EEPROM implementation fix and updated p60 code * Update define * Remove dead code * Update keymap to remove test key * Update keymap again
2019-01-28Prevent wasteful writing to eeprom.mtei1-0/+2
2019-01-27Fix `1<col` instead of `1<<col` typo in matrix_is_on()James Churchill1-1/+1
2019-01-27Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955)Konstantin Đorđević2-2/+2
* Remove unnecessary IS_COMMAND definition in clueboard/66/rev4 * Replace keyboard_report->mods with get_mods() in IS_COMMAND definitions * Update docs to use get_mods() instead of keyboard_report->mods * Replace keyboard_report->mods with get_mods() in tmk_core/protocol/usb_hid/test For some reason, this occurrence used KB_LSHIFT and KB_RSHIFT, which don't exist * Replace keyboard_report->mods with get_mods() in Massdrop keyboards (as per @patrickmt)
2019-01-27Adds a default value for IS_COMMAND for COMMAND feature (#4301)Drashna Jaelre2-5/+5
* Add default value for IS_COMMAND for COMMAND feature * Cleanup and consistency * Update Templates to reflect change * Fix IS_COMMAND in template * Fix IS_COMMAND define * Use consistent IS_COMMAND block in templates * Remove unnecessary `#undef IS_COMMAND` directives * Fix compile issue on orthodox * Reomve IS_COMMAND option for newer boards * Remove all existing definitions of IS_COMMAND if they use default LSHIFT and RSHIFT setting * Remove a couple of additional IS_COMMAND defines * Remove remaining redundant IS_COMMAND definitions * Remove #undef IS_COMMAND from orthodox:drashna and whitefox:konstantin * Remove multiple empty lines in modified config.h files * Update additional boards * Reomve IS_COMMAND from newer boards * Update Alice keyboard * Remove IS_COMMAND from additional boards Jan 24th edition
2019-01-26Fix compile error in debounce_eager_pkalex-ong1-2/+2
2019-01-26Merge branch 'debounce_refactor' of https://github.com/alex-ong/qmk_firmware ↵alex-ong2-5/+3
into debounce_refactor
2019-01-26Malloc array in debounce_eager_pk, since split keyboards only use MATRIX_ROWS/2.alex-ong1-2/+5
2019-01-26Fixed compilation error with debounce_sym_gAlex Ong1-2/+2
2019-01-26Bug fix - was using MATRIX_ROWS instead of num_rowsAlex Ong1-1/+1
2019-01-26Removed #include "matrix.h" from debounce.hAlex Ong1-2/+0
2019-01-26Moved debouncing_time variable to inside #if debouncealex-ong1-3/+2
2019-01-26Restored debounce.h since there wasnt any real change.alex-ong1-17/+4
2019-01-26Working eager_pkalex-ong1-23/+18
2019-01-26DO NOT USE Revert back to original API to support split_keyboards.alex-ong3-8/+8
2019-01-26DO NOT USE - debounce successfully compiled.alex-ong6-62/+233
2019-01-26DO NOT USE Merge branch 'master' into debounce_refactorAlex Ong37-726/+1987
Merged, however now there are two debounce.h and debounce.c to mess around with and coalesce. # Conflicts: # quantum/matrix.c
2019-01-25move `#include "rgb.h"` from quantum.h to quantum.cmtei2-3/+5
I think `quantum.h` should contain only API declarations that `quantum.c` provides externally. `rgb.h` contains function weak definitions. This should not be in `quantum.h`.
2019-01-25Add C(), A() and G() to match already existing S() (#4673)fauxpark1-1/+4