summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Smallish overhaul of Auto-Shift feature (#6067)Drashna Jaelre2019-11-032-95/+34
| | | | | | | | | | | | | * Fix edge case when using One Shot Layer with Auto Shift, and it not triggering the cleanup * Remove junk code (no longer used) * Replace `(un)register_code` calls with `tap_code` where appropriate * Fixed up Switch check to be more readable (less verbose) * Simplified modifier check (if it comes back non-zero, there are mods) * Add additional function calls for autoshift settings * Made all variables static, since there are function calls to get their status * Fixed up documentation * Re-add special characters that were missed * formatting pass
* Use task driven PWM for CTPC until ARM can provide automatic configuration ↵Joel Challis2019-11-021-1/+5
| | | | | | | | (#6928) * Use task driven PWM for CTPC until ARM can provide automatic configuration * Update CTPC docs to cover backlight
* Initial migration of software PWM backlight (#6709)Joel Challis2019-11-024-8/+74
| | | | | | | | | | | | * Initial migration of software PWM backlight * First pass at backlight driver docs * Correct driver name in docs * Run backlight_task when using BACKLIGHT_PINS * Resolve backlight docs TODOs
* Template updates (#7221)fauxpark2019-11-019-85/+67
| | | | | | | | | | * Template updates * Flesh out info.json & keymap.c, and turn double spaces section into a list * Add enum to demonstrate layer naming * Semicolon
* Refactor ps2avrgb i2c ws2812 to core (#7183)Joel Challis2019-10-292-41/+1
| | | | | | | | | | | | | | | | | | | | * Refactor ps2avrgb i2c ws2812 to core * Refactor jj40 to use ws2812 i2c driver * Refactor ps2avrgb template to use ws2812 i2c driver * Add ws2812 stub files * clang-format and driver config * Add ws2812 driver docs * Fix default config values * Update tmk_core/protocol/vusb/main.c Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Reduce duplication for ARM/AVR ws2812 RGB Matrix driver (#7180)Joel Challis2019-10-291-4/+18
| | | | | | * Reduce duplication for ARM/AVR ws2812 rgb_matrix driver * Reduce duplication for ARM/AVR ws2812 rgb_matrix driver - Fix setled_all use of r,g,b
* Fix formatting for sendstring LUTs (#7176)fauxpark2019-10-2811-178/+403
|
* Fix Tap Dance name for consistency and to match docs (#7136)Drashna Jaelre2019-10-241-1/+1
|
* Fix held key getting stuck when NKRO is toggled (#6570)just-another-jxliu2019-10-221-0/+3
| | | | | | | | * Fix held key getting stuck when NKRO is toggled * Updated file to latest qmk version and added fix to cases MAGIC_UNHOST_NKRO & MAGIC_HOST_NKRO as well. * Revert merged quantum.c
* Remove build option firmware size impacts (#6947)Amber Holly2019-10-181-7/+6
| | | | | | | | | | | | | | | | | | | | | | * Update rules.mk template to remove build option size impacts * Add rules.mk cleaning script * Update all rules.mk files to remove build option firmware size impact messages * Remove references to feature filesize in documentation * Revert "Update all rules.mk files to remove build option firmware size impact messages" This reverts commit 7cfe70976bcc223bf47c960b2e6af8596df80a32. * Fix regex in cleanup script and exclude keymaps/ directories * Update quantum/template/avr/rules.mk Fixed missing tabs/spaces. Co-Authored-By: fauxpark <fauxpark@gmail.com>
* SPLIT - Remove NO_USB_STARTUP_CHECK requirement for usb detection (#7053)Joel Challis2019-10-171-0/+6
| | | | | | | | | | * Avoid NO_USB_STARTUP_CHECK - Disable USB as checks seem to enable it somehow * Update quantum/split_common/split_util.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Also remove NO_USB_STARTUP_CHECK from vitamins_included/rev1
* Move tmk_core/common/backlight to quantum/backlight (#6710)Joel Challis2019-10-174-4/+263
| | | | | | | | | | | | * Move tmk_core/common/backlight to quantum/backlight * Add guards to backlight inclusion * Add guards to backlight inclusion * Update backlight guards on clueboard/60 * Use full paths to avoid vpath issues
* Fix bug in `do_code16()` (#6935)fauxpark2019-10-161-33/+17
| | | | | | * Fix bug in `do_code16()` * Remove qk_ mods functions
* Fix small hiccup in snake animation (#6858)theVDude2019-10-151-0/+3
|
* Added uart config for using rn42 with at90usb1286 (#6582)Deckweiss2019-10-161-0/+19
| | | | | | | | | | | | | | | | * Added uart config for using rn42 with at90usb1286 * Updated quantum/config_common.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update quantum/config_common.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update quantum/config_common.h Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Fix broken link to ps2avrgb flashing instructions (#7011)MechMerlin2019-10-111-1/+1
|
* ARM split - detect USB to select master/slave (#6424)Joel Challis2019-10-113-9/+29
| | | | | | | | | | | | * Initial split refactor to allow usb master detection * Add split USB detect docs * Add SPLIT_USB_DETECT demo mode limitation * fix rebase issues * clang-format
* Fix CONVERT_TO_PROTON_C_RXLED pins (#7007)Joel Challis2019-10-111-1/+1
|
* Prevent clang-format messing up placeholder tokens within keyboard templates ↵fauxpark2019-10-107-22/+34
| | | | | | | | | | (#6790) * Use .template file extension for keyboard template files * Filter out .template files completely before passing to clang-format * Undo file extension stuff; just ignore quantum/template dir
* ARM - Initial backlight support (#6487)Joel Challis2019-10-054-509/+728
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move AVR backlight to own file, add borrowed ARM implementation * Tiny fix for backlight custom logic * Remove duplicate board from rebase * Fix f303 onekey example * clang-format * clang-format * Remove backlight keymap debug * Initial pass of ARM backlight docs * Initial pass of ARM backlight docs - resolve todos * fix rules validation logic * Add f072 warning * Add f072 warning * tidy up breathing in backlight keymap * tidy up breathing in backlight keymap * add missing break to backlight keymap
* Fix quantum keymapextra italian (#6779)Silvio Gulizia2019-10-033-27/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * add missing legends for accented vowels * format for readability * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE
* ARM split - Add bootmagic/magic keycodes for setting handedness (#6545)Joel Challis2019-09-243-3/+10
| | | | | | | | | | * Add docs on bootmagic/magic keycodes for setting handedness * Clang format fixes * Maintain backwards compatibility * Maintain backwards compatibility
* Generalize Tap Dance Layer functions (#6629)Drashna Jaelre2019-09-212-2/+10
| | | | | | | | | | | | | | * made tapdance dual_role general * updated original dual_role functionality * added toggling layer example * Fix dual role and add alias * Update docs about new layer tap dances * Fix up based on feedback
* Add support for 328P hardware backlight on B1/B2 (#6776)fauxpark2019-09-201-0/+16
|
* Cleanup rules.mk for 32A and 328P keyboards (#6767)fauxpark2019-09-202-8/+10
|
* DRV2605L Continuous Haptic Feedback Support (#6461)MechMerlin2019-09-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * provide means to turn on RTP mode and set the amplitude * new keycode HPT_CONT to turn RTP off/on * introduce new keycodes HPT_CONI, and HPT_COND for Haptic Continuous Increase and Decrease * support for continuous mode amplitude increase and decrease * code cleanup * update docs to reference new keycodes and functionality * don't touch the keymaps * add function prototypes * add proper guards * cleanup guards * remove extra reserved
* Smoother Linear Light Table (#6764)XScorpion22019-09-182-10/+44
|
* Updated split encoders so indexes are based on left hand encoders first (#6382)XScorpion22019-09-181-17/+25
| | | | | | | | | * Updated encoder.c so that split encoders are indexed based on left hand encoders first. This ensures when swapping master sides that code logic based on encoder index doesn't change. PR Review fixes * Removed extra define
* Add 328P to mcu_selection.mk (#6682)fauxpark2019-09-071-0/+15
|
* Add 16U2, 16U4 and USB646 to mcu_selection.mk (#6566)fauxpark2019-09-051-1/+1
|
* Add Dip Switch as a core feature (#6140)Drashna Jaelre2019-09-034-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Dip Switches as a core feature * Add documentation for Dip Switch feature * Update Preonic Rev3 to use new feature and remove custom matrix * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Remove custom matrix line completely Rather than just disabling it Co-Authored-By: fauxpark <fauxpark@gmail.com> * DIP changes Co-Authored-By: fauxpark <fauxpark@gmail.com> * Use better check for DIP Switch configuration * Add to show features * Add bitmask callback for dip switch * Fix OLKB Boards dip switch config * Update docs to include bitmask example * Fix comments/documentation Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix issues with docs and use example from @tuzonghua * Fix wording Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix example to use proper formatting Bad, BAAAAAAD drashna!!! * Handle dip switch initialization better
* clang-format changesskullY2019-08-30209-14299/+12201
|
* Hotfix: Reinstate the KC_DELT aliasskullY2019-08-301-0/+2
|
* Remove KC_DELT alias in favor of KC_DEL (#6327)Konstantin Đorđević2019-08-301-2/+0
| | | | | | * Remove KC_DELT alias in favor of KC_DEL * Add changelog
* Update swedish based keymaps with newer keycodesDrashna Jaelre2019-08-301-1/+0
|
* Language Keymap extras backport from ZSA fork (#6198)Drashna Jaelre2019-08-302-24/+62
| | | | | | | | | | | | * Swedish extra keymap refactor * Fix swedish $ sign definition (#81) * Fix br abnt2 keymap compilation error * Add PR changelog doc * Update PR6198.md
* Add 'bootloadHID' flash target (#5587)Joel Challis2019-08-241-30/+5
| | | | | | | | | | | | | | * Add 'bootloadHID' flash target * Prep for flash target * Add :flash support * Align bootloader wait messages Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update template to suggest use of :flash
* Fixup Bootmagic code (#6386)Drashna Jaelre2019-08-222-10/+17
|
* AVR GPIO macro defines more readable (#5937)Takeshi ISHII2019-08-213-26/+30
| | | | | | | | | | | | | | | | | | | | | | * A little easier to read the definition of the GPIO control macro for AVR. No change in build result. * Changed to not use GNU statement expression extension. No change in build result. * Modified split_common/serial.c to use qmk_firmware standard GPIO control macro. No change in build result. * fix PE6 -> E6 * remove some space * add some comment to config_common.h * Changed split_common/serial.c to use a newer version of qmk_firmware standard GPIO control macro.
* Additional changes for Layer State typedef compatibility (#5906)Drashna Jaelre2019-08-214-9/+10
| | | | | | | | | | | | | | | | * Additional changes for Layer State typedef compatibility * Replace biton32 with get_highest_layer in docs * Change additional layer structure code * Fix uGFX reference issue * Remove dynamic_keymap check * Where did all these extra spaces come from Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Added keycodes for swapping and unswapping the Control and OS keys (#6110)Stephen Wanhella2019-08-214-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MAGIC_SWAP_CONTROL_LGUI and MAGIC_UNSWAP_CONTROL_LGUI keycodes Key codes to swap and unswap the control and windows/cmd keys * Fix issues with pull request #6110 Renamed swap/unswap lctl and lgui key codes, added key codes to swap/unswap rctl and rgui, and moved new bool inside keycode_config.h struct to the end * Move new keycodes to the end of the enum (#6110) * add cases for swapped control and OS keys to mod_config (#6110) * Add new keycodes to feature_bootmagic.md (#6110) * Add R+L swap codes to keep in parity with AG_* codes * Extend Magic range check to include new magic codes * Update audio docs * Combine 2 byte ranges into 1 word for EECONFG Fix names for Keymap config EEPROM * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Add ATmega32U2 to mcu_selection.mk (#6561)fauxpark2019-08-171-1/+1
|
* Remove backslashes from template keymap (#6548)fauxpark2019-08-171-2/+2
|
* Add support for different encoder pinout for right half of split keyboard ↵Danny2019-08-161-0/+14
| | | | | | | | (#6521) * Add support for different encoder pinouts for split keyboard * Update documentation for new encoder pinout feature
* Enable PWM Support for Planck EZ Indicator Lights (#6473)Drashna Jaelre2019-08-132-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * remove led layer code * enable PWM on STM32F303 * Unusable PWM code * Updated PWM Stuff? * PWM Semi-working * Both LEDs working at the same time * Update names * Add led level functions * Add LED levels and persistent settings * Revert change due to issues with timing related code * Review feedback and minor cleanup
* Mask off TD() parameter properly (#6143)fauxpark2019-08-081-1/+1
| | | | | | * Mask off TD() parameter properly * More parentheses
* Add some defaults for ATmega32A to mcu_selection.mk (#6253)fauxpark2019-08-083-49/+24
| | | | | | | | | | | | * Add some defaults for ATmega32A to mcu_selection.mk * Remove boilerplate from templates * Relax INTERRUPT_CONTROL_ENDPOINT and PROGRAM_CMD * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Rename QK_TMK(_MAX) to QK_BASIC (#6509)fauxpark2019-08-081-3/+3
|
* Improve backlight PWM pin support (#6202)fauxpark2019-08-081-98/+141
| | | | | | | | | | | | | | | | * Improve backlight PWM pin support * I accidentally an equals sign * Another typo * Order by pin number * Throw an error if backlight pin is C4 or C5 on 16/32U4 * Use else for clarity * Minor alignment adjustments
* MIDI: Fix basic noteon: send correct velocity (#6476)Zach DeCook2019-08-061-1/+1
|