Commit Graph

32728 Commits

Author SHA1 Message Date
Duncan Sutherland
7f22cb52e3
Correct layouts/default/readme.md (#23805)
Update readme.md

remove orphan layout
2024-10-18 19:04:29 +11:00
QMK Bot
595e339f57 Merge remote-tracking branch 'origin/develop' into xap 2024-10-18 07:57:41 +00:00
Stefan Kerkmann
3f9d464412
[Core] usb_device_state: consolidate usb state handling across implementations (#24258)
* usb_device_state: add idle_rate, led and protocol

Previously all usb drivers and platform implementations (expect for our
oddball atsam) tracked the same two global variables:

- keyboard_protocol: to indicate if we are in report or boot protocol
- keyboard_idle: for the idle_rate of the keyboard endpoint

And a local variable that was exposed trough some indirection:

- keyboard_led_state: for the currently set indicator leds (caps lock etc.)

These have all been moved into the usb_device_state struct wich is
accessible by getters and setters.

This reduces code duplication and centralizes the state management
across platforms and drivers.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* usb_device_state: reset protocol on reset

The usb hid specification section 7.2.6 states:

When initialized, all devices default to report protocol. However the
host should not make any assumptions about the device’s state and should
set the desired protocol whenever initializing a device.

Thus on reset we should always do exactly that.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* keyboards: fix oversize warnings

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

---------

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
2024-10-18 09:57:08 +02:00
QMK Bot
3806a0ac7d Merge remote-tracking branch 'origin/develop' into xap 2024-10-17 16:07:29 +00:00
QMK Bot
80f8aae3ec Merge remote-tracking branch 'origin/master' into develop 2024-10-17 16:06:54 +00:00
David Doan
36008922f8
add vector macropad (#24487)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <jack@pngu.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-10-17 10:06:17 -06:00
QMK Bot
ac1e534720 Merge remote-tracking branch 'origin/develop' into xap 2024-10-16 16:17:40 +00:00
QMK Bot
6602ee04af Merge remote-tracking branch 'origin/master' into develop 2024-10-16 16:17:06 +00:00
Alabahuy
2ad13037ab
[Keyboard] Add JK60 RGB (#24485) 2024-10-16 10:16:31 -06:00
QMK Bot
fdb9cf5a36 Merge remote-tracking branch 'origin/develop' into xap 2024-10-15 14:06:53 +00:00
QMK Bot
7e53bb9965 Merge remote-tracking branch 'origin/master' into develop 2024-10-15 14:06:17 +00:00
Ryan
85a7627641
Digitizer: fix units tag in report descriptor (#24482) 2024-10-15 07:05:43 -07:00
QMK Bot
ed4ed37424 Merge remote-tracking branch 'origin/develop' into xap 2024-10-13 00:36:07 +00:00
Joel Challis
13581820b8
horrortroll/nyx/rev1: Fix compilation of custom RGB effect (#24481) 2024-10-13 11:35:35 +11:00
QMK Bot
6614f4b60f Merge remote-tracking branch 'origin/develop' into xap 2024-10-12 19:19:50 +00:00
Joel Challis
d0d170e6a0
xiudi/xd002: Remove broken oversized multilayer_rgb keymap (#24480) 2024-10-12 12:19:18 -07:00
QMK Bot
5e9ec588ae Merge remote-tracking branch 'origin/develop' into xap 2024-10-12 19:18:54 +00:00
Joel Challis
dd0068cfd4
keebio/nyquist: Remove invalid I2C config (#24479) 2024-10-12 12:18:23 -07:00
QMK Bot
34f50fc507 Merge remote-tracking branch 'origin/develop' into xap 2024-10-12 18:01:28 +00:00
Ryan
9884e4982b
Rename RGB/HSV structs: keyboard-level code (#24476) 2024-10-12 19:00:56 +01:00
QMK Bot
c544ea0a58 Merge remote-tracking branch 'origin/develop' into xap 2024-10-12 16:48:35 +00:00
Stefan Kerkmann
5478051d74
[Core] quantum: util: add bit and bitmask helpers (#24229)
quantum: util: add bit and bitmask helpers

These helpers are handy and can prevent off-by-one errors when working
with registers and general low level bit manipulation tasks. The macros
themself are inspired by the bits.h macros from the linux kernel source
code.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Pascal Getreuer <50221757+getreuer@users.noreply.github.com>
2024-10-12 18:48:00 +02:00
QMK Bot
f54b3a244b Merge remote-tracking branch 'origin/develop' into xap 2024-10-12 16:44:22 +00:00
Ryan
6fa11bf219
Separate RGBLight/RGB Matrix keycode handling (#23679)
* Separate RGBLight/RGB Matrix keycode handling

* Remove `_DISABLE_KEYCODES` handling

* Update RGB Matrix keycode docs

* Update underglow keycodes for previously migrated boards

* Update keycodes for boards with custom handling

* Fix typos

* Fix bad merge
2024-10-12 18:43:50 +02:00
QMK Bot
317f265270 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:30:44 +00:00
QMK Bot
5c97a78ce6 Merge remote-tracking branch 'origin/master' into develop 2024-10-11 23:30:07 +00:00
Joel Challis
11daef82e0
zsa/moonlander: Fix execution of user callback (#24475) 2024-10-11 16:29:32 -07:00
QMK Bot
5b4ec954e8 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:17:03 +00:00
Sadek Baroudi
9d17779832
Add svlinky converter (#24449) 2024-10-12 00:16:25 +01:00
QMK Bot
6ed62e1a84 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:14:07 +00:00
フィルターペーパー
8844fba607
Update combo user function variable (#24467) 2024-10-12 00:13:31 +01:00
QMK Bot
31cdc0eb28 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:10:38 +00:00
Ryan
6129af93f4
Rename RGB and HSV structs (#24471) 2024-10-12 00:10:02 +01:00
QMK Bot
9711706f74 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:06:28 +00:00
Joel Challis
a10e7cc858
Fix rendering of keymap_config.no_gui within led_update_kb (#24473) 2024-10-12 00:06:10 +01:00
Joel Challis
40d49ee487
Fix duplication of core GU_TOGG keycode (#24474) 2024-10-12 00:05:57 +01:00
QMK Bot
33fadd3c51 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 15:50:05 +00:00
QMK Bot
9246163b77 Merge remote-tracking branch 'origin/master' into develop 2024-10-11 15:49:32 +00:00
Ryan
c95f0fb671
mykeyclub/jris65/hotswap: fix keymap (#24472) 2024-10-11 09:48:59 -06:00
QMK Bot
18c47c09c2 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 03:33:50 +00:00
QMK Bot
049865c30c Merge remote-tracking branch 'origin/master' into develop 2024-10-11 03:31:45 +00:00
Woodrow Douglass
f0b5feb858
fix hotdox76v2 oled font to more closely mirror utf8 (#23807) 2024-10-10 20:31:08 -07:00
QMK Bot
e04defcdb0 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 03:29:00 +00:00
QMK Bot
eac4053a07 Merge remote-tracking branch 'origin/master' into develop 2024-10-11 03:28:29 +00:00
Joe Scotto
f43c9127bf
Add Scotto37 handwired keyboard (#23938)
Co-authored-by: Joel Challis <git@zvecr.com>
2024-10-10 20:27:56 -07:00
QMK Bot
1a44831b36 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 03:27:49 +00:00
Victor
27d68ef8b9
Add Ploopyco functions for host state control (#23953) 2024-10-10 20:27:15 -07:00
QMK Bot
e53fd1a008 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 03:02:09 +00:00
QMK Bot
c8a87ff3fe Merge remote-tracking branch 'origin/master' into develop 2024-10-11 03:01:33 +00:00
azhizhinov
4055798807
[Keyboard] Add Piantor UV 44 (#24247)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-10-10 20:01:00 -07:00