2285 Commits

Author SHA1 Message Date
Joel Challis 629950e51b Fix recent clang-format breaking quantum.c (#8282) 2020-03-01 17:55:43 +00:00
QMK Bot 1ec8a7205f format code according to conventions [skip ci] 2020-03-01 13:54:25 +00:00
Ryan ce604e1629 Remove duplicate BRTG case (#8277) 2020-03-01 13:22:21 +00:00
James Young 26eef35f07 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
Nick Brassel 444fd3b1cc Add support for delays in send_string. (#8244) 2020-02-27 20:38:19 +11:00
Florian d9ac815f71 fix: remove oryx live training boolean assignment 2020-02-26 10:15:12 +09:00
Drashna Jael're 41194bcbd3 Fix Live Training bug
Forget to check if the firmware is actually paired
2020-02-26 10:15:12 +09:00
Joel Challis 4885430361 Run clang-format manually to fix recently changed files (#7934)
* Run clang-format manually to fix recently changed files

* Run clang-format manually to fix recently changed files - revert template files

* Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
2020-02-26 10:15:12 +09:00
QMK Bot 141e02df88 format code according to conventions [skip ci] 2020-02-26 10:15:12 +09:00
Wilba cd52615704 Add VIA support for QMK backlight, QMK RGBLight (#7911)
* Add VIA support for QMK backlight, QMK RGBLight

* clang-format changes
2020-02-26 10:15:12 +09:00
Joel Challis f23bfa24d1 Relocate grave keycode processing (#8082)
* Relocate grave keycode processing

* Tidy up code

* Refactor grave -> grave_esc
2020-02-26 10:15:12 +09:00
Mikkel Jeppesen d4f504b70d Ensure setPinInput actually sets input high-Z (#6237)
* Ensure setPinInput actually sets input high-z

* Fixed _PIN_ADDRESS Macro arguments
as recommended by vomindoraan

* Fixed instances of setInput to use new behavour

* Changed kmac matrix to use input with pullups

* Update keyboards/gh60/revc/revc.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fixed input state for unselect_rows

* fixed merge conflict

* Updated all instances of older uses of setPinInput()

* Fixed naming mistake

Co-authored-by: fauxpark <fauxpark@gmail.com>
2020-02-26 10:15:12 +09:00
Joel Challis cca46a85f3 Reduce SPLIT_USB_TIMEOUT by 500ms (#7637)
* Update SPLIT_USB_TIMEOUT -500ms

* Align keyboard level SPLIT_USB_TIMEOUT defaults

* Align keyboard level SPLIT_USB_TIMEOUT_POLL

* Review fixes
2020-02-26 10:15:12 +09:00
Joel Challis cc9befe283 Update split serial code to use driver pattern (#7990)
* Move avr serial code to drivers

* Update src+= serial.c to driver pattern
2020-02-26 10:15:12 +09:00
Jeremy Bernhardt 30ed4bdb38 switching to you know whats up mode (#7921) 2020-02-26 10:15:12 +09:00
Joel Challis 0a1b1e3235 Add central location for ChibiOS defines (#7542)
* Add central location for chibios defines

* Add central location for chibios defines - actually add files this time....

* Add Copyright header

* Update include order to resolve i2cv1 build errors
2020-02-26 10:15:12 +09:00
fauxpark c3dbc8831f Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915)
* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards

* Define diode direction for failing boards

* Matching parentheses

* Put onekey diode directions in top level config
2020-02-26 10:15:12 +09:00
Joel Challis 5b6592f616 Move rgblight and backlight task to common location (#7733) 2020-02-26 10:15:12 +09:00
Rob Haswell 895f8bdeb5 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-26 10:15:12 +09:00
Joel Challis 060244a705 Relocate common backlight functionally (#7273) 2020-02-26 10:15:12 +09:00
Rob Haswell b80becc5e5 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-26 10:15:12 +09:00
Joel Challis 5f03514246 Fix CUSTOM_MATRIX lite matrix_scan return code (#7908) 2020-02-26 10:15:12 +09:00
Joel Challis 922984f981 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-26 10:15:12 +09:00
Joel Challis 977fd47df5 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-26 10:15:12 +09:00
Drashna Jael're 5bf407c8e9 Fix function call 2020-02-26 10:15:12 +09:00
Drashna Jael're 39a9486b35 Cleanup oryx init check 2020-02-26 10:15:12 +09:00
Drashna Jael're 6198382cb1 Cleanup magic number and functions 2020-02-26 10:15:12 +09:00
Drashna Jael're d550603b8c Add firmware ID check 2020-02-26 10:15:12 +09:00
Drashna Jael're 66d48534b1 Move webusb pairing key back into quantum 2020-02-26 10:15:12 +09:00
Drashna Jael're e7a2fdc271 Make Dynamic Keymaps optional for Oryx 2020-02-26 10:15:12 +09:00
Drashna Jael're ed1cbad3e7 Disable live training if other webusb commands are sent 2020-02-26 10:15:12 +09:00
Drashna Jael're a8e4c490bf Add EEPROM reset functionality 2020-02-26 10:15:12 +09:00
Drashna Jael're 3b71e1e819 Implement core communication 2020-02-26 10:15:12 +09:00
Drashna Jael're 5c1c41462a Add Dynamic Keymap and other webUSB commands 2020-02-26 10:15:12 +09:00
Drashna Jael're 5ed3ecdd73 Add toggle for live training 2020-02-26 10:15:12 +09:00
Drashna Jael're 259cc07202 Make Dynamic Keymaps more friendly for non-VIA implementations 2020-02-26 10:15:12 +09:00
Wilba 9b9e5e1d47 VIA configurator refactor 2020-02-26 10:15:12 +09:00
Drashna Jael're e41ab50016 Start moving code out of webusb and to Oryx feature 2020-02-26 10:15:12 +09:00
Florian Didron d3f23ecfbc 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-02-26 10:15:12 +09:00
Joel Challis f6111d49bb Split - Avoid race condition during matrix_init_quantum (#8235)
* Avoid race condition during matrix_init_quantum

* spelling is hard
2020-02-25 14:10:04 +00:00
Ryan bb8d4b4d23 send_unicode_string(): Add support for code points > 0xFFFF (#8236) 2020-02-25 12:54:51 +11:00
Ryan 371ff9dd6f A proper send_string() for the Unicode feature (#8155) 2020-02-24 10:27:25 +11:00
Joel Challis f76f9c7d2a Add mouse support to SEND_STRING (#8223)
* Add mouse support to SEND_STRING

* add short forms
2020-02-23 14:03:01 -08:00
Ryan 032fbf3f24 Add Danish keymap and sendstring LUT (#8218) 2020-02-21 14:40:28 +01:00
Ryan 562482c234 Add Turkish keymap aliases and sendstring LUT (#7676)
* Add Turkish keymap aliases and sendstring LUT

* Split into F and Q layouts
2020-02-21 18:21:38 +11:00
Ryan 66d7fc34b2 Add Arm Teensys to mcu_selection.mk (#8026)
* Add Arm Teensys to mcu_selection.mk

* Roll back halfkeyboard keymap changes

* Remove extra newline
2020-02-21 17:12:15 +11:00
Joel Challis 7707724dc4 Allow 30us matrix delay to be keyboard/user overridable (#8216)
* Allow 30us matrix delay to be configurable via define

* Move wait logic to matrix_common

* Move wait logic to matrix_common - fix wait includes
2020-02-21 14:49:33 +11:00
Wilba 79d5903b6c dynamic keymap sanity check (#8181) 2020-02-17 17:54:13 -08:00
Joel Challis 17ff551275 Convert f072 backlight build error to message (#8177) 2020-02-16 11:37:21 -08:00
Joel Challis 014ad1d747 Fix RESET keycode on some STM32F072 keyboards (#8134)
* Add f072 board files with 'enter_bootloader_mode_if_requested' support

* rename default f072 board file to GENERIC_STM32_F072XB

* Remove board files

* Add bootloader def

* Update generic f072 board paths

* Revert wrong deletion
2020-02-13 19:39:22 +00:00