Commit Graph

10292 Commits

Author SHA1 Message Date
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
Drashna Jael're
11d20da2d8 Add Dynamic Keymap and other webUSB commands 2020-02-14 17:51:14 +09:00
Drashna Jael're
dc062fcf4c Add Oryx keymap, etc 2020-02-14 17:51:14 +09:00
Drashna Jael're
6062af5fee Add toggle for live training 2020-02-14 17:51:14 +09:00
Drashna Jael're
ee43276958 Make Dynamic Keymaps more friendly for non-VIA implementations 2020-02-14 17:51:14 +09:00
Drashna Jael're
95b0ea6c30 fix type in usb_main for chibiOS 2020-02-14 17:51:14 +09:00
Wilba
c91ff45763 VIA configurator refactor 2020-02-14 17:51:14 +09:00
Drashna Jael're
4624ecf202 Start moving code out of webusb and to Oryx feature 2020-02-14 17:51:14 +09:00
Florian Didron
47bae30fcb Apollo (#246)
* Add External EEPROM driver

* Add keyboard

* Fix i2c address

* Revert i2c address for eeprom

* Reduce page size for 24LC128

* Disable External EEPROM for now

* Fix up RGB Matrix and layout

* Cleanup moonlander.c file

* Fix led array center

* Disable External EEPROM for now

* Cleanup and optimization of files

* Add and clean up mappings

* Enable "ZSA" defaults for Moonlander

* Update matrix to use i2c_readReg

* Disable render limit for rgb matrix

* Update pin controls to GPIO Commands

* Add proper changed mechanism

* Additional cleanup

* Run clang-format on moonlander files

* Align keymap

* Limit brightness for rgb matrix to 200

To prevent power draw issues

* Add USB-IF VID/PID

* Add RGB Matrix Sleep code

* Enable External EEPROM on Moonlander

* Port over Ergodox Expander error handling and retry code

* Re-init RGB Matrix drivers when half is reconnected

* Add threaded LED display

* Correct layer state settings after moonlander_led_task

* Update Moonlander to include Oryx configuration

* Add webUSB Stuff

* Update default keymap

* fix: merge conflict

Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-01-21 13:50:53 +09:00
Drashna Jaelre
0c676d6e47 Move webusb.h includes to quantum.h (#244)
Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
2020-01-09 08:57:11 +09:00
fauxpark
7b8d56d6d5 Add LUFA mass storage BOOTLOADER "support" (#7729) 2020-01-09 08:57:11 +09:00
Drashna Jaelre
138f981238 Add rules.mk defaults for f103,f072,f042 (#7704) (#242)
* Add rules.mk defaults for f103,f072,f042

* Add rules.mk defaults for f103,f072,f042 - remove comment

* Add rules.mk defaults for f103,f072,f042 - align USE_FPU

* Reset MCU to avoid build issues

* Move essential config values to top and remove ability for override

* Align DFU_SUFFIX_ARGS order with DFU_ARGS

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
2020-01-09 08:57:11 +09:00
Drashna Jaelre
455f9e9d1f [Core] Optimize matrix processing (#7621)
Backport of tmk/tmk_keyboard@ad6059adc7
2020-01-09 08:57:11 +09:00
Drashna Jaelre
6a7b6815de core: Fix variable init and header include (#7626)
tmk backport from tmk/tmk_keyboard@325a99acd9
2020-01-09 08:57:11 +09:00
Drashna Jaelre
d0e06f0385 remove SERIAL_SOFT_DEBUG macro (#7625)
SERIAL_SOFT_DEBUG can be defined in the `config.h`

Backported from tmk/tmk_keyboard@c74eee6327
x
2020-01-09 08:57:11 +09:00
Joel Challis
9c06f5a2e6 Fix ChibiOS USB config for chips which support OTGv1 (#7564)
* Align endpoint config as per rest of file (fixes #4783)

* Add comments about explicit order use

* Update tmk_core/protocol/chibios/usb_main.c

Co-Authored-By: fauxpark <fauxpark@gmail.com>
2020-01-09 08:57:11 +09:00
Drashna Jaelre
052e4ee4d2 core: Fix build config in protocol.mk (#7620)
Backports commits from tmk_keyboard
2020-01-09 08:57:11 +09:00
yulei
5f9e60bd95 fixed I2C driver support for stm32f4 (#7526)
* correct i2c driver for stm32f4

* update pin mode definitions

* update macro definition
2020-01-09 08:57:11 +09:00
Joel Challis
20f465bfb6 Remove mbed files (#7605)
* Remove mbed files

* Remove mbed files - fix comment

* Remove mbed logic blocks
2020-01-09 08:57:11 +09:00
fauxpark
1378e0de96 Use clock_prescale_set() from avr-libc (#7540)
* Use `clock_prescale_set()` from avr-libc

* Remove outdated FAQ info
2020-01-09 08:57:11 +09:00
Drashna Jaelre
172fbd48ab Re-init rgb matrix on left half reconnect 2020-01-09 08:57:11 +09:00