Commit Graph

10713 Commits

Author SHA1 Message Date
Nick Brassel
2d37b79534 Add dual-bank STM32 bootloader support, given GPIO toggle on BOOT0 to charge RC circuit. (#8778) 2020-09-30 03:01:34 -07:00
dhong44
b3363f407b Fix the mousekey scrolling (#9174)
Mousekey scrolling should have a separate repeat variable
to keep track of scrolling acceleration, instead of being
tied to mouse movement scolling in mousekeys. The send function
should record when the last movement was made since this is
when movement is actually sent. Doing this fixes the bug where
the initial press of a mousekey scroll button causes a double scroll.

Signed-off-by: Daniel Hong <daniel.hong@live.com>
2020-09-30 03:01:01 -07:00
Nick Brassel
756867c653 F303/Proton-C migration. (#9315) 2020-09-30 03:00:33 -07:00
Nick Brassel
6a5700b31a Add support for DMAMUX-capable MCU configuration with WS2812 PWM driver. (#9471) 2020-09-30 02:59:52 -07:00
Ryan
8c38482ebd Change analogRead calls to analogReadPin (#9023)
* Change analogRead calls to analogReadPin

* Add ChangeLog

* Update docs, remove mention of `analogRead()`

* Retarget changelog for next round
2020-09-30 02:59:20 -07:00
Nick Brassel
0f599bb7ef qmk cformat on develop (#9501) 2020-09-30 02:57:39 -07:00
Ryan
ce09c5c922 Don't compile outputselect.c if Bluetooth is disabled (#9356) 2020-09-30 02:57:16 -07:00
Ryan
6e5476c447 Remove inclusion of adafruit_ble.h from ssd1306.c (#9355) 2020-09-30 02:57:05 -07:00
Ryan
9894e54f4f Additional cleanups for V-USB code (#9310) 2020-09-30 02:55:40 -07:00
Ryan
ba0c53b7f8 Convert CONSUMER2BLUEFRUIT() and CONSUMER2RN42() macros to static inline functions (#9055) 2020-09-30 02:53:33 -07:00
Ryan
85360eee26 Various tidyups for USB descriptor code (#9005) 2020-09-30 02:53:02 -07:00
Nick Brassel
1dd723510e Initial work for consolidation of ChibiOS platform files (#8327)
* Initial work for consolidation of board files and default ChibiOS configs.

* Migrate F401/F411 black pills for testing.

* Add early init bootloader jump flag.

* Add support for I2C in order to use i2c_scanner keymap.

* Add F401/F411 HSE bypass to get things booting.

* Exempt "hooked" ChibiOS conf files from updater script.

* Fix up ordering for bootloader_defs file check.

* Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
2020-09-30 02:52:30 -07:00
Ryan
e74b8a0464 Remove iWRAP protocol (#9284) 2020-09-30 02:47:38 -07:00
Ryan
0df455119d Fix ChibiOS backlight not turning off on suspend (#10114)
* Fix ChibiOS backlight not turning off on suspend

* Add missing code for backlight as caps lock too
2020-09-30 02:45:31 -07:00
Drashna Jaelre
8784ab09d8 Add noeeprom speed function for RGBLIGHT (#9706)
* [Docs] Add Speed functions to RGB Light docs

* Add noeeprom functions for speed

* Fix wording in doc

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-09-30 02:43:54 -07:00
Drashna Jaelre
a1d87ee1d4 Compiler warning when using WS2812 (#9955)
Specifically, when rgb matrix is enabled and using the ws2812 driver, and rgb light is enabled at the same time, print a message about coexistance because it can cause issues, since you cannot change pins/config for the WS2812 driver.
2020-09-30 02:43:02 -07:00
Ryan
34e094388f MSYS2: install packages for AVR toolchain (#10078) 2020-09-30 02:42:39 -07:00
nopunin10did
fae09e2aeb Issue 9942: Add LSA, RSA, RCS, LSA_T, RSA_T, and RCS_T (#9943)
* Issue 9942: Add Quantum defines

Add codes to quantum_keycodes for LSA, RSA, RCS, and their corresponding _T macros

* 9942: Add documentation for new defines

Add documentation for new defines in feature request 9942. Also define SAGR and SAGR_T as aliases for RSA and RSA_T.

* Update quantum/quantum_keycodes.h

* Update docs/keycodes.md

* Update docs/keycodes.md

* Update docs/keycodes.md

* Update docs/keycodes.md
2020-09-30 02:41:37 -07:00
Ryan
6a0b2d77a5 MSYS2: install packages for dfu-programmer, dfu-util, teensy-loader-cli (#10007) 2020-09-30 02:41:37 -07:00
Andrés Mejía
86fc93a8b4 Update repo name in README (#307) 2020-09-07 13:31:44 -07:00
Drashna Jael're
12207daaff Update QMK CLI to be inline with upstream 2020-09-07 13:28:27 -07:00
Florian Didron
849aa2fb9e fix: layer3 indicator leds (#305) 2020-08-27 09:28:43 +09:00
Florian Didron
4f9797f439 fix: remove mx lock on ergodox_ez (#306) 2020-08-27 09:28:30 +09:00
Drashna Jael're
d2bf02c91e Audio tweeks 2020-08-21 12:39:22 -07:00
Drashna Jaelre
b0bd2e674b Set defaults for Mousekey Wheel movement (#303)
* fix: italian keymap it quot is redefined

* fix: missing deprecated swedish key code

* Adds Moonlander to the list of supported keyboards

* Sorts list and adds EZ suffix to Planck in Readme

* Update Mouse Wheel config

Co-authored-by: Florian Didron <0x6664@hey.com>
Co-authored-by: Erez Zukerman <1092548+ezuk@users.noreply.github.com>
2020-08-17 09:59:59 +09:00
Drashna Jaelre
35cbcb582c [Bug] Fix Swap Hands bug introduced by OSH (#9968)
Fixes the handling for the oneshot cleanup, so it only cleans up if it is active.  It should not cleanup of SHO is off (eg using a normal oneshot key), nor if it's actively pressed or used.  

Previous behavior BROKE swap hand key.
2020-08-08 22:56:03 -07:00
Drashna Jaelre
d51626796d Add Indicator flag for RGB Matrix (#9933)
* Add Indicator flag for RGB Matrix

This adds a new flag for the RGB Matrix feature that lets you specify if the LED is an indicator LED, to be used to indicate the system state of the keyboard (eg caps/num/etc lock status, layer indication, modifer status, etc).

* Better formatting of table
2020-08-08 22:55:25 -07:00
BeefaloKing
a55bdf0718 Fix RGB_DISABLE_TIMEOUT overflow warning (#9866) (#9874)
* Fix RGB_DISABLE_TIMEOUT overflow warning (#9866)

* Adjust capitalization (#9874)
2020-08-08 22:54:37 -07:00
Joel Challis
cd0523e7d4 Enable OLED support for Teensy 3.2/LC (#7591)
* I2C_TIMEOUT is not defined on arm teensy

* Work round teensy having different ChibiOS config options

* Stash OLED conf files

* update comment

* update comment

* Remove stm32 alias to allow teensy alt mode

format code according to conventions [skip ci]
2020-08-08 22:52:26 -07:00
nathanvercaemert
215fdc39fd Implemented New MK_COMBINED Functionality (#9557)
* implemented new mousekey_combined functionality

* minor formatting change to documentation

* Update tmk_core/common/mousekey.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update tmk_core/common/mousekey.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update tmk_core/common/mousekey.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update tmk_core/common/mousekey.c

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update docs/feature_mouse_keys.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

* Update docs/feature_mouse_keys.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

* Update docs/feature_mouse_keys.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

* Update docs/feature_mouse_keys.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

Co-authored-by: Nathan Vercaemert <nathan.vercaemert@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>

format code according to conventions [skip ci]
2020-08-08 22:49:39 -07:00
Ryan
abc174c328 MSYS2: Switch to bootloadHID package and bring back avrdude package (#9736)
* MSYS2: Switch to bootloadHID package and bring back avrdude package

* Update Zadig docs as well
2020-08-08 22:47:36 -07:00
Konstantin Đorđević
6b318bd420 Redefine IS_LAYER_ON/OFF() as aliases for existing layer functions (#6352)
* Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros

* Add docs for IS_LAYER_ON/OFF(_STATE) macros

* Remove IS_LAYER_ON/OFF_STATE redefinition in userspace

* Run clang-format on quantum/quantum.h

* Redefine IS_LAYER_ON/OFF(_STATE) as aliases of existing layer functions

Also update relevant doc entries.

Needs testing to check if this breaks existing IS_LAYER_ON/OFF usage in certain
edge cases (namely calling the macros with 0).

* Reformat layer check function docs
2020-08-08 22:46:45 -07:00
Drashna Jaelre
281a94ceda Allow for user song list (#9281) 2020-08-08 22:44:33 -07:00
Hedgestock
790a58ddd7 Fixed CA_DOTA key code (#9722) 2020-08-08 22:43:58 -07:00
Gautham Yerroju
ed8461315a OLED driver function to set pixels (#9713)
* Add a function to set individual pixels

* Add documentation for oled_write_pixel

* use smaller data type for oled_write_pixel

* Fix boundary check edge case

* Update oled_write_pixel doc

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-08 22:39:53 -07:00
Ryan
65cb9c4fde Update new keyboard templates (#9636)
* Update new keyboard templates

* Switch on Bootmagic Lite by default

* Remove MIDI_ENABLE and FAUXCLICKY_ENABLE
2020-08-08 22:38:44 -07:00
Drashna Jaelre
07c36a9ddf Fix RGB Matrix using RGBW WS2812 LEDs (#9705)
This should be a pointer, as that is what the function expects.
2020-08-08 22:36:08 -07:00
Joel Challis
0d781c50bc Refactor ARM backlight (#7959) 2020-08-08 22:33:36 -07:00
Steve Purcell
8c0ac47cc4 shell.nix improvements, and fix problems on Darwin (#9551) 2020-08-08 22:26:05 -07:00
Oskar Holstensson
c00414e429 Changed US_RBRC to KC_RBRC instead of KC_LBRC (#9664) 2020-08-08 22:23:32 -07:00
Dongfeng Yu
6ac9422d03 Allowing Pressing the Start Buttons Again to Stop Dynamic Macro Recording (#9446)
format code according to conventions [skip ci]
2020-08-08 22:20:54 -07:00
Sven Grunewaldt
8ddee61180 Add TAP_CODE_DELAY to Mod-Tap (#9422) 2020-08-08 22:19:09 -07:00
Joakim Tufvegren
fe14cbb4f4 Allow for building layouts from keymap.json files. 2020-08-08 22:18:37 -07:00
MelGeek
54b4307018 [Driver] bugfix reset the scaling register flag to FALSE (#9507)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-08 22:13:59 -07:00
Brennan Vincent
58fd4f077d Fix typo in freebsd_install.sh (#9655) 2020-08-08 22:13:21 -07:00
Takeshi ISHII
6dc67cfef0 add DIP_SWITCH_MATRIX_GRID support (#8772)
* dipsw test on helix/rev2/sc/back:five_rows

* add peek_matrix() to matrix_common.c

* add DIP_SWITCH_MATRIX_GRID support to quantum/dip_switch.c

* update docs/feature_dip_switch.md about DIP_SWITCH_MATRIX_GRID

* Test end. remove test code. Revert "dipsw test on helix/rev2/sc/back:five_rows"

This reverts commit 6d4304c74557597c9fb4d324f79c3ae4793ae874.

format code according to conventions [skip ci]
2020-08-08 22:12:53 -07:00
Takeshi ISHII
063f14f72d add SPLIT_HAND_MATRIX_GRID support (#8685)
Co-authored-by: Danny <nooges@users.noreply.github.com>
2020-08-08 22:09:30 -07:00
moseschmiedel
e0ab67fb43 Add missing dependency for Void Linux to util/linux-install.sh (#9637) 2020-08-08 22:09:02 -07:00
Manna Harbour
dce40e33d4 Add movement hook to ps2_mouse (#8805)
Process mouse movement in the keymap before it is sent to the host. Example uses
include filtering noise, adding acceleration, and automatically activating a
layer. To use, define the following function in your keymap:

void ps2_mouse_moved_user(report_mouse_t *mouse_report);
2020-08-08 22:08:38 -07:00
Ryan
3fa11d8613 Make sendstring respect TAP_CODE_DELAY (#9623) 2020-08-08 22:02:13 -07:00