Commit Graph

10312 Commits

Author SHA1 Message Date
Joel Challis
7029d8a11c Move rgblight and backlight task to common location (#7733) 2020-02-14 17:57:39 +09:00
Rob Haswell
6bae1bc662 Configuration values for starting HSV and speed (#7740)
* Define default HSV and speed for RGB matrix.

* Documentation for configuration values RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT and RGB_MATRIX_STARTUP_VAL.

* Document RGB_MATRIX_STARTUP_SPD.

* Preserve the ordering.
2020-02-14 17:56:54 +09:00
fauxpark
3cff44c668 Remove KEYMAP_SECTION_ENABLE (#7882) 2020-02-14 17:56:24 +09:00
Joel Challis
20ecca55bd Add ws2812 driver type define (#7888) 2020-02-14 17:56:09 +09:00
xyzz
a937451b23 chibios/usb_main: re-check USB status in send_keyboard after sleeping the thread (#7784)
* chibios/usb_main: re-check USB status in send_keyboard after sleeping the thread

* change send_keyboard to only have 1 exit point
2020-02-14 17:55:53 +09:00
Joel Challis
5bd553ee9a Relocate common backlight functionally (#7273) 2020-02-14 17:55:18 +09:00
Drashna Jaelre
655d2fb1ba Add Midi Endpoint task to ChibiOS main (#8071) 2020-02-14 17:54:56 +09:00
QMK Bot
51cf6cec93 format code according to conventions [skip ci] 2020-02-14 17:54:56 +09:00
George Harris
729bbe35e5 Fix unaligned access with LTO (#7801)
Forces 4 byte alignment for USB input & output buffers to prevent unaligned accesses by chibios with LTO enabled
2020-02-14 17:54:56 +09:00
Joel Challis
9e7b84520b Fix printf buffer overflow when cols>16 (#7998) 2020-02-14 17:54:56 +09:00
QMK Bot
84eefd9524 format code according to conventions [skip ci] 2020-02-14 17:54:56 +09:00
fauxpark
5af64ad050 Fix lock LEDs for ChibiOS when using shared endpoints (#7877)
* Fix lock LEDs for ChibiOS when using shared endpoints

* Tweak comments

* Doesn't need to be uint16 anymore
2020-02-14 17:54:56 +09:00
Joel Challis
cf45fed6a0 Fix KEYBOARD_SHARED_EP on ChibiOS (#7860) 2020-02-14 17:54:56 +09:00
Joel Challis
ac61b30b9e CI: Add workflow for CLI testing (#7357)
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
2020-02-14 17:54:15 +09:00
Cody Bender
ca466c621f Add QMK Compile Context Sensitivity (#6884)
* Add context sensitive compile, without config check

* Initial full working state. Plan to refactor

* Refactor loop for simplicity, add comments

* Update docs/cli.md with qmk compile examples

* Simplify path for keyboard derivation

* Update path to use path.join instead of concat

* Refactor keyboard path, the skully way

* Add in keymap folder support

* Add /layouts compile support

* Update docs/cli.md with empty compile in layouts

* Add comments to compile.py

* Update docs for clarity, and fix compile error typo

* Fix config option compile

* Fix layout compile and failure mode

* Add rules.mk check

* Fix variable names for global config

* Add in_layout priority

* Remove default fallback in favor of throw, update docs

* Add keymap folder context

* Fix formatting

* Add os import

* Convert to create_make_command

* Fix Travis lint errors

* Remove blank line with whitespace

* Add blank lines for readability

* Remove unnecessary config logic

* Update Docs to add flash

Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>

* Shift config precedence to MILC

Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
2020-02-14 17:54:15 +09:00
skullydazed
237c58e3ed Improve the functionality of qmk.questions (#8020)
* wip

* tested and working

* remove unused import

* Update lib/python/qmk/questions.py

Co-Authored-By: Erovia <Erovia@users.noreply.github.com>

* fix flake8 errors

Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-02-14 17:54:15 +09:00
Joel Challis
b3711738b8 Fix cformat processing files within ignore folders (#8063) 2020-02-14 17:54:15 +09:00
Mikkel Jeppesen
bceaa828ce Qmk doctor os check to support newer msys2/w10 installations (#8031)
* Fixed OS detection on newer MSYS installations

* made OS sting lower case
2020-02-14 17:54:15 +09:00
skullydazed
8b70d98633 Beef up how qmk doctor works. (#7375)
* Beef up how `qmk doctor` works.

* improve the `git submodule status` parsing. h/t @erovia

* Fix whitespace and imports

* yapf

* Add documentation for the new doctor functionality

* Replace type_unchanged() with str()

* remove unused modules

* Update lib/python/qmk/cli/doctor.py

Co-Authored-By: Erovia <Erovia@users.noreply.github.com>

Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-02-14 17:54:15 +09:00
Joel Challis
faf335ca0e Align cformat rules with current CI implementation (#7936)
* Align cformat rules with current CI implementation

* Optimise file walking
2020-02-14 17:54:15 +09:00
Erovia
9a15129bd1 Fix attribute heritance for long commands.
This is needed for inheritance to work with commands that have dashes in
their names.
2020-02-14 17:54:15 +09:00
Erovia
4ea50bd5bd Fix commandline arg merging, small improvements
Commandline args should be merged with the submodule's config.
Compare config values to None instead of False, so empty lines and False
can be used as values.
2020-02-14 17:54:15 +09:00
Erovia
e0df258b3a MILC: Fix/complete attribute heritance
If an undefined attribute of a submodule is accessed, fall back to
same attribute of the submodule's parent.
2020-02-14 17:54:15 +09:00
skullY
244e46beb7 yapf and style 2020-02-14 17:54:15 +09:00
Erovia
c16d44306b Make the udev rules easier to read and manage 2020-02-14 17:54:15 +09:00
Erovia
87683d36a5 Fix Pro Micro's and its bootloader's name 2020-02-14 17:54:15 +09:00
Erovia
0f63eb5f9c CLI: Rework ModemManager check and add udev check 2020-02-14 17:54:15 +09:00
ridingqwerty
75aaebd558 Implement and document TAPPING_FORCE_HOLD_PER_KEY (#7859)
* Implement and document TAPPING_FORCE_HOLD_PER_KEY

* Added "record" parameter to "get_tapping_force_hold"

* Correct typo -- remove 'IGNORE_' from 'IGNORE_TAPPING_FORCE_HOLD_PER_KEY'

Co-authored-by: GeorgeKoenig <35542036+GeorgeKoenig@users.noreply.github.com>
2020-02-14 17:53:47 +09:00
Drashna Jaelre
1245492ce2 Cleanup check for PERMISSIVE_HOLD (#7861)
* Fix bug in PERMISSIVE_HOLD check

caused by #5009 (aka, me)

* Remove check for per key
2020-02-14 17:53:47 +09:00
zk-phi
040c7ec958 Add per-key IGNORE_MOD_TAP_INTERRUPT feature (#7838)
* Implement IGNORE_MOD_TAP_INTERRUPT_PER_KEY

- Add configurable option IGNORE_MOD_TAP_INTERRUPT_PER_KEY
- Add function get_ignore_mod_tap_interrupt iff the option is enabled

Unless IGNORE_MOD_TAP_INTERRUPT_PER_KEY is defined, this patch does not affect the resulting binary.

* Add documentation for IGNORE_MOD_TAP_INTERRUPT_PER_KEY
2020-02-14 17:53:47 +09:00
Rob Haswell
11b8fa8056 RGB matrix effect - left-right gradient (#7742)
* Left-right gradient.

* Update the comment to match the new functionality.

* CPP does integer division so this round is not necessary.

* The x-range is actually 224, update comment and use bit-shifting again.

* Update docs with gradient left-right effect and associated "DISABLE" option.
2020-02-14 17:53:12 +09:00
Joel Challis
0e0773c5ed Fix CUSTOM_MATRIX lite matrix_scan return code (#7908) 2020-02-14 17:52:08 +09:00
Joel Challis
44408c46c9 Migrate more custom matrix 'lite' code to core (#7863)
* Migrate more custom matrix lite code to core

* Align function names

* fix up MATRIX_MASKED
2020-02-14 17:52:08 +09:00
Joel Challis
a3ca0acf30 Move some common matrix code to a common location (#7699)
* Move some common matrix code to a common location

* Refactor some 'custom_matrix_helper' logic to use custom matrix lite

* Fix build for kinesis/stapelberg - abuse of vpath was picking up matrix.c from core when custom matrix was enabled

* Add validation for CUSTOM_MATRIX
2020-02-14 17:52:08 +09:00
Florian
4a8cbeaab8 feat: disable webusb popup by default 2020-02-14 17:51:14 +09:00
Drashna Jael're
b879bda0e5 Fix function call 2020-02-14 17:51:14 +09:00
Drashna Jael're
88144a3133 Cleanup oryx init check 2020-02-14 17:51:14 +09:00
Drashna Jael're
ca0d7cd644 Cleanup magic number and functions 2020-02-14 17:51:14 +09:00
Drashna Jael're
c166b3ef1e Add firmware ID check 2020-02-14 17:51:14 +09:00
Drashna Jael're
4d131265a6 Forgot preprocessor for moonlander 2020-02-14 17:51:14 +09:00
Drashna Jael're
74dcee253c Tweak moonlander 2020-02-14 17:51:14 +09:00
Drashna Jael're
bda0873ac0 Move webusb pairing key back into quantum 2020-02-14 17:51:14 +09:00
Drashna Jael're
3af443f491 Add Oryx Keymap with dynamic keymaps enabled 2020-02-14 17:51:14 +09:00
Drashna Jael're
f7910cb138 Remove webusb code from moonlander 2020-02-14 17:51:14 +09:00
Drashna Jael're
8e521b786a Fix typedef in eeconfig.c 2020-02-14 17:51:14 +09:00
Drashna Jael're
24abc31232 Make Dynamic Keymaps optional for Oryx 2020-02-14 17:51:14 +09:00
Drashna Jael're
8cdc382aec Disable live training if other webusb commands are sent 2020-02-14 17:51:14 +09:00
Drashna Jael're
494d9ce0e9 Limit number of layers due to eeprom size contstraints 2020-02-14 17:51:14 +09:00
Drashna Jael're
d1ad612554 Add EEPROM reset functionality 2020-02-14 17:51:14 +09:00
Drashna Jael're
11bb5ebe87 Implement core communication 2020-02-14 17:51:14 +09:00