Skip to content

Commit 412e2ae

Browse files
author
Carlos Cardoso
committed
Merge remote-tracking branch 'qmk/develop' into develop
* qmk/develop: (141 commits) Implement GPIO abstraction for atsam (qmk#13567) [Keyboard][Bug] Add timer_avr to includes for broken builds (qmk#13641) [Keyboard] adds new revision: dztech/dz60rgb/v2_1 (qmk#13636) [Keyboard] Fixing info.json for h0oni/hotduck (qmk#13640) [Keyboard] Ymd40v2new layouts and fixed per-switch backlight (qmk#13622) [Bug] Develop - DC01 left (qmk#13597) [Keyboard] Fix clawsome/hatchback and reviung5 compile issues (qmk#13607) [Keyboard] add ogurec (qmk#13242) [Keyboard] Add Durgod Taurus K310 keyboard (qmk#12314) [Keyboard] Updated keyboard & keymaps (qmk#12667) [Keyboard] add SPRH keyboard (qmk#12999) Retain brightness with lighting layers (qmk#13025) [Keyboard] Add keypad Satxri6key (qmk#13423) [Keyboard] Initial Tron Guy Labs keyboard implementation. (qmk#13438) [Keyboard] Add Ristretto Keyboard (qmk#13479) [Keyboard] New Keyboard - OBE (qmk#13545) [Keyboard] Add personal planck keymap (qmk#13635) [Keymap] narze/xd004 (qmk#13634) [Keyboard] Add h0oni hotduck keyboard (qmk#13609) Fix API generation failure caused by GRS-70EC (qmk#13631) ...
2 parents dd5a778 + 490fa5a commit 412e2ae

File tree

1,117 files changed

+41331
-5975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,117 files changed

+41331
-5975
lines changed

.github/workflows/api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- 'keyboards/**'
99
- 'layouts/community/**'
10+
workflow_dispatch:
1011

1112
jobs:
1213
api_data:

.github/workflows/develop_api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- 'keyboards/**'
99
- 'layouts/community/**'
10+
workflow_dispatch:
1011

1112
jobs:
1213
api_data:

common_features.mk

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ endif
262262
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix
263263
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations
264264
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations/runners
265-
# Get rid of this!
266-
COMMON_VPATH += $(QUANTUM_DIR)/rgblight
267-
268265
SRC += $(QUANTUM_DIR)/color.c
269266
SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix.c
270267
SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix_drivers.c
@@ -335,6 +332,11 @@ ifeq ($(strip $(PRINTING_ENABLE)), yes)
335332
SRC += $(TMK_DIR)/protocol/serial_uart.c
336333
endif
337334

335+
ifeq ($(strip $(KEY_OVERRIDE_ENABLE)), yes)
336+
OPT_DEFS += -DKEY_OVERRIDE_ENABLE
337+
SRC += $(QUANTUM_DIR)/process_keycode/process_key_override.c
338+
endif
339+
338340
ifeq ($(strip $(SERIAL_LINK_ENABLE)), yes)
339341
SERIAL_SRC := $(wildcard $(SERIAL_PATH)/protocol/*.c)
340342
SERIAL_SRC += $(wildcard $(SERIAL_PATH)/system/*.c)
@@ -511,11 +513,7 @@ ifneq ($(strip $(CUSTOM_MATRIX)), yes)
511513
# if 'lite' then skip the actual matrix implementation
512514
ifneq ($(strip $(CUSTOM_MATRIX)), lite)
513515
# Include the standard or split matrix code if needed
514-
ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
515-
QUANTUM_SRC += $(QUANTUM_DIR)/split_common/matrix.c
516-
else
517-
QUANTUM_SRC += $(QUANTUM_DIR)/matrix.c
518-
endif
516+
QUANTUM_SRC += $(QUANTUM_DIR)/matrix.c
519517
endif
520518
endif
521519

docs/_summary.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
* [Combos](feature_combo.md)
7878
* [Debounce API](feature_debounce_type.md)
7979
* [Key Lock](feature_key_lock.md)
80+
* [Key Overrides](feature_key_overrides.md)
8081
* [Layers](feature_layers.md)
8182
* [One Shot Keys](one_shot_keys.md)
8283
* [Pointing Device](feature_pointing_device.md)

docs/config_options.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ If you define these options you will enable the associated feature, which may in
195195
* Sets the delay between `register_code` and `unregister_code`, if you're having issues with it registering properly (common on VUSB boards). The value is in milliseconds.
196196
* `#define TAP_HOLD_CAPS_DELAY 80`
197197
* Sets the delay for Tap Hold keys (`LT`, `MT`) when using `KC_CAPSLOCK` keycode, as this has some special handling on MacOS. The value is in milliseconds, and defaults to 80 ms if not defined. For macOS, you may want to set this to 200 or higher.
198+
* `#define KEY_OVERRIDE_REPEAT_DELAY 500`
199+
* Sets the key repeat interval for [key overrides](feature_key_overrides.md).
198200

199201
## RGB Light Configuration
200202

@@ -400,6 +402,8 @@ Use these to enable or disable building certain features. The more you have enab
400402
* USB N-Key Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
401403
* `AUDIO_ENABLE`
402404
* Enable the audio subsystem.
405+
* `KEY_OVERRIDE_ENABLE`
406+
* Enable the key override feature
403407
* `RGBLIGHT_ENABLE`
404408
* Enable keyboard underlight functionality
405409
* `LEADER_ENABLE`

docs/driver_installation_zadig.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,38 @@ If you find that you can no longer type with the keyboard, you may have accident
3030

3131
![A healthy keyboard as seen by Zadig](https://i.imgur.com/Hx0E5kC.png)
3232

33-
Open the Device Manager and look for a device that looks like your keyboard.
33+
Open the Device Manager, select **View → Devices by container**, and look for an entry with your keyboard's name.
3434

35-
![The board with the wrong driver installed, in Device Manager](https://i.imgur.com/L3wvX8f.png)
35+
![The board with the wrong driver installed, in Device Manager](https://i.imgur.com/o7WLvBl.png)
3636

37-
Right-click it and hit **Uninstall device**. Make sure to tick **Delete the driver software for this device** first.
37+
Right-click each entry and hit **Uninstall device**. Make sure to tick **Delete the driver software for this device** first if it appears.
3838

3939
![The Device Uninstall dialog, with the "delete driver" checkbox ticked](https://i.imgur.com/aEs2RuA.png)
4040

41-
Click **Action → Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again! Otherwise, repeat the process until Zadig reports the correct driver.
41+
Click **Action → Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again! Otherwise, repeat this process until Zadig reports the correct driver.
4242

4343
?> A full reboot of your computer may sometimes be necessary at this point, to get Windows to pick up the new driver.
4444

45+
## Uninstallation
46+
47+
Uninstallation of bootloader devices is a little more involved than installation.
48+
49+
Open the Device Manager, select **View → Devices by container**, and look for the bootloader device. Match up the USB VID and PID in Zadig with one from [the table below](#list-of-known-bootloaders).
50+
51+
Find the `Inf name` value in the Details tab of the device properties. This should generally be something like `oemXX.inf`:
52+
53+
![Device properties showing the Inf name value](https://i.imgur.com/Bu4mk9m.png)
54+
55+
Then, open a new Command Prompt window as an Administrator (type in `cmd` into the Start menu and press Ctrl+Shift+Enter). Run `pnputil /enum-drivers` to verify the `Inf name` matches the `Published Name` field of one of the entries:
56+
57+
![pnputil output with matching driver highlighted](https://i.imgur.com/3RrSjzW.png)
58+
59+
Run `pnputil /delete-driver oemXX.inf /uninstall`. This will delete the driver and remove it from any devices using it. Note that this will not uninstall the device itself.
60+
61+
As with the previous section, this process may need to be repeated multiple times, as multiple drivers can be applicable to the same device.
62+
63+
!> **WARNING:** Be *extremely careful* when doing this! You could potentially uninstall the driver for some other critical device. If you are unsure, double check the output of `/enum-drivers`, and omit the `/uninstall` flag when running `/delete-driver`.
64+
4565
## List of Known Bootloaders
4666

4767
This is a list of known bootloader devices and their USB vendor and product IDs, as well as the correct driver to assign for flashing with QMK. Note that the usbser and HidUsb drivers are built in to Windows, and cannot be assigned with Zadig - if your device has an incorrect driver, you must use the Device Manager to uninstall it as described in the previous section.

0 commit comments

Comments
 (0)