aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Debounce refactor / API (#3720)Drashna Jaelre2019-02-146-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
| * Fix compile error in debounce_eager_pkalex-ong2019-01-271-2/+2
| |
| * Merge branch 'debounce_refactor' of https://github.com/alex-ong/qmk_firmware ↵alex-ong2019-01-262-5/+3
| |\ | | | | | | | | | into debounce_refactor
| | * Fixed compilation error with debounce_sym_gAlex Ong2019-01-261-2/+2
| | |
| | * Bug fix - was using MATRIX_ROWS instead of num_rowsAlex Ong2019-01-261-1/+1
| | |
| | * Removed #include "matrix.h" from debounce.hAlex Ong2019-01-261-2/+0
| | |
| * | Malloc array in debounce_eager_pk, since split keyboards only use MATRIX_ROWS/2.alex-ong2019-01-261-2/+5
| |/
| * Moved debouncing_time variable to inside #if debouncealex-ong2019-01-261-3/+2
| |
| * Restored debounce.h since there wasnt any real change.alex-ong2019-01-261-17/+4
| |
| * Working eager_pkalex-ong2019-01-261-23/+18
| |
| * DO NOT USE Revert back to original API to support split_keyboards.alex-ong2019-01-263-8/+8
| |
| * DO NOT USE - debounce successfully compiled.alex-ong2019-01-266-62/+233
| |
| * DO NOT USE Merge branch 'master' into debounce_refactorAlex Ong2019-01-2637-726/+1987
| |\ | | | | | | | | | | | | | | | Merged, however now there are two debounce.h and debounce.c to mess around with and coalesce. # Conflicts: # quantum/matrix.c
| * \ Merge branch 'master' into debounce_refactorAlex Ong2019-01-0470-1331/+3146
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # tmk_core/common/keyboard.c
| * | | Removed "debounce_algo = manual" in all keyboards with CUSTOM_MATRIX = yes.Alex Ong2018-08-291-76/+3
| | | |
* | | | Fix ARM Audio issues and its EEPROM persistence (#4936)Drashna Jaelre2019-02-142-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
* | | | fix the led_matrix.h naming conflictskullY2019-02-104-3/+3
| | | |
* | | | Put back an accidentally stripped copyrightskullY2019-02-101-1/+2
| | | |
* | | | cleanupskullY2019-02-101-2/+2
| | | |
* | | | fix compiling for backlight without led matrixskullY2019-02-101-1/+1
| | | |
* | | | cleanupskullY2019-02-101-39/+37
| | | |
* | | | Move the 1 second delay to led_matrix_initskullY2019-02-101-18/+6
| | | |
* | | | led_matrix works nowskullY2019-02-103-28/+25
| | | |
* | | | compiles, but long delay on startup and problemsskullY2019-02-105-59/+63
| | | |
* | | | revert accidental rgb_matrix.h changesskullY2019-02-101-2/+10
| | | |
* | | | The beginning of a simple led matrix driver for is31fl3731skullY2019-02-104-10/+695
| | | |
* | | | Fix Bootmgic Mod Handling for LM keycodes (#4740)Drashna Jaelre2019-02-061-1/+1
| | | |
* | | | Improvements to Space Cadet Shift (#3856)Anthony2019-02-051-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
* | | | Fix QWERTZ <> QWERTY issue in sendstring_german.hFlugschwein2019-02-041-2/+2
| | | | | | | | | | | | Small mistake that caused sendstring commands to exchange y with z.
* | | | Backlight - New option : BACKLIGHT_CAPS_LOCK (#4769)Rockman182019-01-281-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
* | | | Practice60 RGB and PWM Backlight (#4929)Andrew Kannan2019-01-281-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
* | | | Prevent wasteful writing to eeprom.mtei2019-01-281-0/+2
| | | |
* | | | Fix `1<col` instead of `1<<col` typo in matrix_is_on()James Churchill2019-01-271-1/+1
| | | |
* | | | Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955)Konstantin Đorđević2019-01-272-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)
* | | | Adds a default value for IS_COMMAND for COMMAND feature (#4301)Drashna Jaelre2019-01-262-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
* | | move `#include "rgb.h"` from quantum.h to quantum.cmtei2019-01-252-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`.
* | | Add C(), A() and G() to match already existing S() (#4673)fauxpark2019-01-251-1/+4
| | |
* | | Fix process_combo which assign -1 to uint16_t (#3697)Drashna Jaelre2019-01-252-9/+10
|\ \ \
| * | | Fix process_combo which assign -1 to uint16_tShihpin Tseng2018-08-202-9/+10
| | | |
* | | | Fix problem that MAGIC_SWAP_ALT_GUI will not be effective when OSM(mod) is usedMakotoKurauchi2019-01-251-1/+1
| | | |
* | | | Optimize/Update the new_project script (#4920)MechMerlin2019-01-232-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
* | | | Update Templates (stop living in the past, its 2019) (#4897)MechMerlin2019-01-208-8/+8
| | | |
* | | | Allows Terminal to use ModTap/LayerTap keys (#4586)Mislav Čakarić2019-01-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #4583 * #4583 - terminal also handles layer tap now
* | | | Simplify split_common Code significantly (#4772)James Churchill2019-01-1713-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.
* | | | Changed rest note (#4837)Jeremy Bernhardt2019-01-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed rest term * Update quantum/audio/musical_notes.h Co-Authored-By: germ <jeremythegeek@gmail.com>
* | | | Adds Proton C Conversion (#4661)Jack Humbert2019-01-106-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
* | | | Tidy up Mod-Tap shortcuts (#4806)fauxpark2019-01-081-15/+16
| | | |
* | | | Add missing parentheses to some important macros (#4775)Konstantin Đorđević2019-01-081-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Add missing parentheses to quantum_keycodes macros * Add missing parentheses to progmem macros
* | | | Improve consistency in UNICODEMAP code and docs, update ↵Konstantin Đorđević2019-01-074-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
* | | Add explicit eeprom include in split_commonJames Churchill2019-01-031-0/+4
| | | | | | | | | | | | Fixes builds that set EE_HANDS.