summaryrefslogtreecommitdiffstats
path: root/quantum
AgeCommit message (Collapse)AuthorFilesLines
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
2019-01-25Fix process_combo which assign -1 to uint16_t (#3697)Drashna Jaelre2-9/+10
2019-01-25Fix problem that MAGIC_SWAP_ALT_GUI will not be effective when OSM(mod) is usedMakotoKurauchi1-1/+1
2019-01-24Optimize/Update the new_project script (#4920)MechMerlin2-42/+1
* use pragma once in our templates * template.h is present in both avr/ps2avrgb options so we moved it to base. In addition we now use pragma once
2019-01-21Update Templates (stop living in the past, its 2019) (#4897)MechMerlin8-8/+8
2019-01-18Allows Terminal to use ModTap/LayerTap keys (#4586)Mislav Čakarić1-0/+6
* fixes #4583 * #4583 - terminal also handles layer tap now
2019-01-17Simplify split_common Code significantly (#4772)James Churchill13-656/+578
* Eliminate separate slave loop Both master and slave run the standard keyboard_task main loop now. * Refactor i2c/serial specific code Simplify some of the preprocessor mess by using common function names. * Fix missing #endif * Move direct pin mapping support from miniaxe to split_common For boards with more pins than sense--sorry, switches. * Reordering and reformatting only * Don't run matrix_scan_quantum on slave side * Clean up the offset/slaveOffset calculations * Cut undebounced matrix size in half * Refactor debouncing * Minor fixups * Split split_common transport and debounce code into their own files Can now be replaced with custom versions per keyboard using CUSTOM_TRANSPORT = yes and CUSTOM_DEBOUNCE = yes * Refactor debounce for non-split keyboards too * Update handwired/xealous to build using new split_common * Fix debounce breaking basic test * Dodgy method to allow a split kb to only include one of i2c/serial SPLIT_TRANSPORT = serial or SPLIT_TRANSPORT = i2c will include only that driver code in the binary. SPLIT_TRANSPORT = custom (or anything else) will include neither, the keyboard must supply it's own code if SPLIT_TRANSPORT is not defined then the original behaviour (include both avr i2c and serial code) is maintained. This could be better but it would require explicitly updating all the existing split keyboards. * Enable LTO to get lets_split/sockets under the line * Add docs for SPLIT_TRANSPORT, CUSTOM_MATRIX, CUSTOM_DEBOUNCE * Remove avr-specific sei() from split matrix_setup Not needed now that slave doesn't have a separate main loop. Both sides (on avr) call sei() in lufa's main() after exiting keyboard_setup(). * Fix QUANTUM_LIB_SRC references and simplify SPLIT_TRANSPORT. * Add comments and fix formatting.
2019-01-13Changed rest note (#4837)Jeremy Bernhardt1-0/+4
* Changed rest term * Update quantum/audio/musical_notes.h Co-Authored-By: germ <jeremythegeek@gmail.com>
2019-01-10Adds Proton C Conversion (#4661)Jack Humbert6-0/+1319
* adds proton c base * fixes custom matrix include * adds readme.md * initial proton coversion, no pin mapping * start of mcu selection * add pin mapping and sweet16 test * add at90 to list * disable backlight, fix d7 * update flag names * doc updates * proton c update for mcu selection
2019-01-09Tidy up Mod-Tap shortcuts (#4806)fauxpark1-15/+16
2019-01-09Add missing parentheses to some important macros (#4775)Konstantin Đorđević1-11/+10
* Add missing parentheses to quantum_keycodes macros * Add missing parentheses to progmem macros
2019-01-07Improve consistency in UNICODEMAP code and docs, update ↵Konstantin Đorđević4-29/+25
docs/understanding_qmk (#4774) * Remove unused UNICODE(n) macro, update docs * Add note about max length of unicode_map to docs * QK_UNICODE_MAP → QK_UNICODEMAP * Refactor process_unicode_map * process_unicode_map → process_unicodemap This is done for consistency: UNICODEMAP is the method (hence UNICODEMAP_ENABLE, process_unicodemap), whereas unicode_map is the mapping table itself. * Update references and ordering in docs/understanding_qmk * Add additional note to docs/understanding_qmk * &unicode_map[index] → unicode_map + index This avoids the issue of the compiler sometimes complaining about the array index being out of range * Update docs/getting_started_make_guide * Update method sections in docs/feature_unicode
2019-01-04Merge branch 'master' into debounce_refactorAlex Ong70-1331/+3146
# Conflicts: # tmk_core/common/keyboard.c