summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Allows disabling rgb effects in userspace (#4422)Florian Didron2018-11-182-65/+149
| | | | | | | | | | * Allows disabling animations in user space * Describe disabling effects in the docs * Allows disabling individual reactive modes * Adds the list ode defines
* modify quantum/template/avr/config.h: add rgblight effect configurationsmtei2018-11-121-5/+18
|
* Configurable Rainbow Swirl range (#4376)Frank Tackitt2018-11-071-1/+5
| | | | | | | | | | | | | | * Configurable Rainbow Swirl range This allows tweaking of the rainbow effect to get different effects on keyboards with varied LED layouts. We found the value 1950 works on the RGBKB.net Sol to get a cool striped effect across the keyboard. * Document RGBLIGHT_RAINBOW_SWIRL_RANGE * Better wording for the documentation
* Add EEPROM_RESET keycode to core code (#4234)Drashna Jaelre2018-11-062-0/+9
| | | | | | | | | | * Add EEPROM Reset keycode * Add keycode to docs * Move EEPROM Reset code to the end of the enum * Cleanup and naming change
* Remove ALTG(kc) as it's misleading and is not actually AltGr (#4338)Konstantin Đorđević2018-11-062-14/+17
| | | | | | * Remove ALTG(kc) as it's misleading and is not actually AltGr * Add temporary alias for ALGR in keyboards/planck/keymaps/pevecyan/keymap.c
* Increasing square wave buffer to max volume. (#4296)Josh2018-11-031-124/+9
| | | | | | * Increasing square wave buffer to max volume. * Using range designated initializers for square waves; defining DAC_SAMPLE_MAX.
* Remove old declarationDrashna Jaelre2018-11-021-1/+0
| | | Co-Authored-By: nooges <nooges@users.noreply.github.com>
* Move disable JTAG code from `keyboard_init` to `keyboard_setup`Danny Nguyen2018-11-022-20/+0
| | | | This way all split keyboards are using that code instead of just those using split_common with the fix
* Add support for Atmega32A to pin declarations and universal matrix (#4015)Jack Humbert2018-11-022-63/+113
| | | | | | | | | | | | | | | | | | * add computed pins from mcu type * update for atmega32a * doc typo * add atmega16 chips, link to references * remove avr include from config * exclude assembler in config.h includes * consolodate options, add 646 * fix typo in pindef
* Add pointer(?) to disable_JTAG to prevent compiler errors (#4310)Drashna Jaelre2018-10-311-6/+7
|
* Added JTAG disable code to the split_common (#4309)That-Canadian2018-10-311-0/+14
| | | | | Added JTAG disable code to the split_common slave code since the slave never calls keyboard_init(). In the future the slave should likely be modified to call keyboard_init() in some way, but without calling any of the unnecessary USB initialization code.
* Add Bootmagic Lite to QMK (#4215)Drashna Jaelre2018-10-274-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Preliminary additon of bootmagic lite functionality * Cleanup code * Clean up bootmagic code * Add documentation and clean up code * Make 'lite' an option for BOOTMAGIC_ENABLE * Update Templates with note about Bootmagic Lite option * Detect Debounce variable * Make sure debounce is a non-zero number * Capitalize Bootmagic * Capitalize bootmagic * Update wording * Re-add EEPROM reset, by popular demand And add eeprom-less version to drashna userspace for his sanity * Fix spacing * Set BOOTMAGIC_ENABLE to use full/lite/off And default yes to "full" for compatibility * Add Bootmagic lite info to templates * Remove text from makefiles * Cleanup of makefile * mention yes in bootmagic docs * Wordsmitthing the docs * Fix white spaces * Readd default bootmagic setting, because it's necessary
* add support for encoders to coreJack Humbert2018-10-263-0/+111
|
* Keymap: add new keymap (#4127)ROMUSKING2018-10-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * an attempt at own layout * typematrixed dvorak * columns shifted columns shifted out, second pinky column moved to the inside. * Update users/romus/romus.h * code cleanup Changes requested by Drashna + Tap Dance enabled * Fixed EOF Fixed the no newline at the end of file alert. * rgblight fight eeprom writes * rgb code simplification * Update users/romus/README.md * Update quantum/keymap_extras/keymap_slovenian.h
* Fix Unicode EEPROM handling so it is consistent. (#4066)Drashna Jaelre2018-10-195-15/+17
| | | | | | | | | | | | | | | | * Fix Unicode EEPROM handling so it's consistant * Remove changes to my userspace * Optimize variables used * fix functions * additional cleanup * Add False Flag * rename function
* optimize rgblight_effect_alternating(void)mtei2018-10-181-7/+7
| | | | rgblight_effect_alternating (void) calls rgblight_sethsv_at () RGBLED_NUM times. As a result, rgblight_set () is called RGBLED_NUM + 1 times. This is wasteful processing.
* convert to unix line-endings [skip ci]QMK Bot2018-10-161-1/+1
|
* Fixes on slovenian keymapŽan Pevec2018-10-161-14/+14
|
* Only include lufa.h if AVR in quantum/api.hDrashna Jaelre2018-10-161-1/+3
|
* Basic Slovenian keymap added (#4128)Žan Pevec2018-10-151-0/+106
| | | | | | * Basic Slovenian keymap added * Author fixed
* Add sendstring_german.h (#4124)Patrick Hener2018-10-121-0/+81
| | | | | | | | | | * added sweet16 test keymap and touched sendstring_german.h * added sendstring_german.h * Delete keymap.c As suggested deleted the keymap file.
* A comment indicating the insertion location of the new mode was added.mtei2018-10-111-0/+4
|
* Add a temporary comment to quantum/rgblight.h to aid migration.mtei2018-10-111-0/+46
| | | | Add a temporary comment. The content is a contrast table of old magic number and new symbol.
* Add non-US Hash and Backslash to AutoShift handlingDrashna Jaelre2018-10-061-0/+2
|
* rgb_matrix: continue calling rgb_matrix_indicators() when toggled offJames Laird-Wah2018-10-041-1/+2
| | | | | | | | | This allows user code to continue to use the matrix for indication, even when the RGB toggle is off, using rgb_matrix_set_color(). Without this change, it's impossible for user code to use the matrix when the toggle is off, as any changes get overwritten with black on the next task cycle, and the indicator code is not called at all.
* process_ucis: Add a callback for success (#4067)martinakcsilla2018-10-032-0/+9
| | | | | | | | | | There is `qk_ucis_symbol_fallback` for the case where symbol lookup fails, but there wasn't one for the success case. This adds `qk_ucis_success`, called after successfully finishing the UCIS symbol input. Thanks to @drashna for the idea! Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
* add JP keycode for MacOSX (#4033)takashiski2018-10-021-0/+3
|
* Adds a method allowing to set custom colors to the rgb matrixFlorian Didron2018-10-022-0/+8
|
* Add send_unicode_hex_string function (#3828)Drashna Jaelre2018-10-012-0/+29
| | | | | | | | | | | * Add send_string_unicode function Co-authored-by: kdb424 <kdb424@gmail.com> Co-authored-by: Konstantin <vomindoraan@gmail.com> * Clean up code based on feedback * Fix includes
* Add Function level EECONFIG code for EEPROM (#3084)Drashna Jaelre2018-10-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Function level EEPROM configuration Add kb and user functions for EEPROM, and example of how to use it. * Bug fixes and demo * Additional cleanup * Add EEPROM reset macro to example * Forgot init function in list * Move eeconfig_init_quantum function to quantum.c and actually set default layer * See if removing weak quantum function fixes issue * Fix travis compile error * Remove ifdef blocks from EECONFIG so settings are always set * Fix for ARM EEPROM updates * Fix merge issues * Fix potential STM32 EEPROM issues
* Make digital rain RGB matrix effect #define configurable.Daniel Shields2018-10-011-2/+6
|
* Adds default value for TAPPING_TERM if Tap Dance is enabled (#2785)Drashna Jaelre2018-10-012-2/+8
| | | | | | * Force require TAPPING_TERM if Tap Dance is enabled * Handle lack of TAPPING_TERM more gracefully
* RAMA M6-B and IS31FL3218 driver (#4021)Wilba65822018-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | * Initial RAMA M6-B commit. * Moved IS31FL3218 driver, minor cleanups * Refactor, added dynamic keymap. * Added dynamic keymaps to RAMA M6-A * Refactor M6-A and M6-B to use common code. * Formatting * Cleanup * Cleanup * Changes from review
* Update quantum matrix to support both AVR and Chibios ARM (#3968)yiancar2018-09-283-96/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update quantum matrix to support both AVR and Chibios ARM - Addition of STM32 pin definitions - Created abstruction layer defines to control GPIO (This is a bit pointless for Chibios as we are creating a PAL ontop of a PAL but it is necessary for uniformity with AVR) - Modified matrix.c to use the above functions * minor ifdef fix * Rename of functions and docs - Added documentation. - Renamed functions according to Jack's spec. * Massdrop fix * Update matrix.c * Update quantum.h * Update quantum.h * Update quantum.h * Update internals_gpio_control.md
* Improved dynamic keymaps (#3972)Wilba65822018-09-282-32/+17
| | | | | | * Improved dynamic keymaps * K&R sucks
* Keyboard: keyboardio model01: rgbmatrix support (#3989)James Laird-Wah2018-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | * model01: implement RGB matrix feature LEDs can still be individually controlled if this is switched off. * model01: use fast banked LED setting commands * model01: update default keymap to use RGB matrix * model01: update RGB matrix support to match common_features.mk * rgb_matrix: include <string.h> This was missing after commit 4d5705ea6ceeb11cd2adc018644ec87c51af4e86 which introduces a use of memset(). * model01: make g_rgb_leds weak This allows users to override which LEDs are configured as modifiers, or tweak the x/y coordinates, should they so choose.
* split_common: fix backlight update for serial boardsChiang Fong Lee2018-09-271-7/+7
|
* Revert "Split Common: Serial Backlight LED fix (#3586)"Chiang Fong Lee2018-09-271-18/+0
| | | | This reverts commit 3eabd7946ec5e47d12d603d591e8d8658d82fa42.
* Make Audio Clicky's randomness a floatDrashna Jaelre2018-09-271-2/+3
| | | | | | Rather than a define, but read from the define. This way, a smart coder could externally configure the randomness, changing it on the fly This is also a precursor step to adding full on support for configurable randomness.
* RGB Matrix refactoring to open up for new drivers (#3913)James Laird-Wah2018-09-273-112/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rgb_matrix: use a driver ops struct This is intended to avoid #ifdef proliferation on adding more drivers, eg. model01, which use different architectures. * rgb_matrix: document driver struct members * rgb_matrix: remove unused LED testing code * rgb_matrix: don't build into IS31x drivers unless being used * rgb_matrix: refactor make config options This ensures that the necessary files are included for any custom RGB_MATRIX_ENABLE value, without having to add entries here for specific boards. This particularly affects model01 because its controller is integrated and won't be used anywhere else, so it's preferable not to put it in common_features.mk. This now validates the value of RGB_MATRIX_ENABLE. It was necessary to fix an error in ergodox_ez rules.mk using the wrong comment separator, yielding an invalid value. * IS31x drivers: don't write the control registers all the time This is only needed when they are changed. This is done in init() and board- or keymap-specific code is free to make further changes. * rgb_matrix: move structs from chip drivers to rgb_matrix_drivers.c This approach is specific to the rgb_matrix functionality, so keep it neatly separated from the raw chip drivers.
* Moves animation calculation logic out of the for loopsFlorian Didron2018-09-261-14/+22
|
* Add new RGB matrix effect digital rain aka The MatrixDaniel Shields2018-09-262-0/+67
|
* Add On/Off keycodesDrashna Jaelre2018-09-253-7/+16
|
* Add functions so you can configure programaticallyDrashna Jaelre2018-09-253-19/+53
|
* Store Clicky status in EEPROMDrashna Jaelre2018-09-252-11/+11
|
* Create AG_TOGG code to toggle Alt/Gui swap.Joe Wasson2018-09-172-0/+13
|
* Make `PREVENT_STUCK_MODIFIERS` the default (#3107)Joe Wasson2018-09-176-125/+5
| | | | | | | | | | * Remove chording as it is not documented, not used, and needs work. * Make Leader Key an optional feature. * Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE` * Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
* Zeal60/Zeal65/M60-A implementation (#3879)Wilba65822018-09-132-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial version of zeal60 * WIP * Fixes issue #900 * Adding RGB underglow functionality. Fixed a compile-time conflict caused by enabling RGB underglow functionality. * Refactor RPC protocol * Fix last merge * README for RGB underglow updated. * Additional README changes. * Adding RGBW strip software-based current-limiting functionality. * RGBW current-limiting functionality should be handled by RGBSTRIP_MAX_CURRENT_PER_LIGHT instead. * Updated README to reflect implementation of built-in current limiting. * Keymap readability improvements. * Minor keymap improvements. * Fixed LED driver init sequence, formatting * Dimming implementation tested, working. * Stab LEDs synced with spacebar hits in effects. * RGB underglow tested and functional. Simplified README for RGB underglow. * Undid accidental file deletion from previous merge conflict. Safer values for RGB underglow. * Improved arrow key positions in keymap. * Added functionality to correct uneven RGB underglow. Refactored related code. * Reverted to safer values for underglow. * Changes for v0.3 * Custom LED brightness scaling will take place after current adjustment in order to avoid being overridden. * Create keymap.c Added split backspace and split shift to ISO layout * Create config.h Turned on LEDs for new layout * Fixed bug where left spacebar stabilizer LED (LC06) would adopt color of row above. * Added hhkb_wilba keymap * Update keymap.c * Update keymap.c * Update keymap.c * Added indicators, full param setting via host * Added "mousekey" layout * Added Zeal65 support, factory test mode * Keycode safe range changed, caused bugs * Bumped EEPROM version due to change in QMK keycodes * Disable HHKB "blocked" LEDs if KC_NO in keymap * Added "disable_hhkb_blocker_leds" * Required overridden function for keymaps in EEPROM * Added polar coordinate mapping, effect speed * Force Raw HID interface number to 1 always * Fixed last merge from master * Added effect speed to default keymaps * add BACKLIGHT_ prefix to vars * add BACKLIGHT_ prefix to vars * Keymap speed effect; keymap improvements/fixes Readme updated to match changes * Refactored to use common IS31FL3731/I2C drivers * Fixed make rules, backlight disabled feature * Make split rightshift default for Zeal65 * Added M60-A as a "version" of Zeal60. * Renamed IS31FL3731 driver functions * Fix suspend_wakeup_init_kb() being defined twice * First pass refactor dynamic keymaps * Updated to changed I2C and ISSI drivers * Refactor zeal_color.* usage to quantum/color.* * Updated Zeal65, fixed dynamic_keymap * Major refactoring of Zeal60 backlight and API * Lots of little cleanups * Added readme.md * Added readme.md * Added LAYOUT_60*() macros, refactored and cleaned up default keymaps * Fix compile error in suspend.c * Added Zeal65 LAYOUT macros, info.json * Added rama/m60_a, deleted zeal60/keymaps/m60_a * Fixed rama/m60_a/keymaps/proto * Fixed compilation error for suspend.c * Requested changes for PR * Fixed readme.md images * Another readme.md fix * Added drashna's requested changes
* rgblight.[ch] more configurable (#3582)Takeshi ISHII2018-09-135-101/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add temporary test code rgblight-macro-test1.[ch] * rgblight.h : mode auto numberring and auto generate mode name symbol No change in build result. * rgblight.c use RGBLIGHT_MODE_xxx symbols No change in build result. * quantum.c use RGBLIGHT_MODE_xxx symbols No change in build result. * fix build break. when RGB_MATRIX_ENABLE defined * add temporary test code rgblight-macro-test2.[ch] * modify rgblight_mode_eeprom_helper() and rgblight_sethsv_eeprom_helper() * modify rgblight_task() * configurable each effect compile on/off in config.h * update docs/feature_rgblight.md * fix conflict. docs/feature_rgblight.md * remove temporary test code rgblight-macro-test*.[ch] * fix comment typo. * remove old mode number from comment * update docs/feature_rgblight.md about effect mode * Revert "update docs/feature_rgblight.md about effect mode" This reverts commit 43890663fcc9dda1899df7a37d382fc38b1a6d6d. * some change docs/feature_rgblight.md * fix typo * docs/feature_rgblight.md update: revise mode number table
* Fix typo in keymap_swedish.h (#3877)Peter Nguyen2018-09-091-2/+2
| | | | | | * Fix typo in keymap_swedish.h * Update keymap_swedish.h