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
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
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
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
QMK Bot
bf679bbfe5
Merge remote-tracking branch 'origin/develop' into xap
2024-10-09 04:31:38 +00:00
QMK Bot
00db6f2397
Merge remote-tracking branch 'origin/master' into develop
2024-10-09 04:31:06 +00:00
フィルターペーパー
fb598e7e61
Fixup Lily58 keymap comment ( #24466 )
2024-10-09 05:30:32 +01:00
QMK Bot
e4d505ae8a
Merge remote-tracking branch 'origin/develop' into xap
2024-10-08 18:52:29 +00:00
QMK Bot
8cc6127668
Merge remote-tracking branch 'origin/master' into develop
2024-10-08 18:51:56 +00:00
yiancar
c0d57a6826
Fix indicator code for NK classics ( #24462 )
...
Fix indicator code
Co-authored-by: yiancar <yiancar@gmail.com>
2024-10-08 12:51:23 -06:00
QMK Bot
275578446a
Merge remote-tracking branch 'origin/develop' into xap
2024-10-07 04:30:04 +00:00
Duncan Sutherland
c3ffbe4504
add ergodox Community Layout for LAYOUT_ergodox keyboards ( #22963 )
...
initial commit
2024-10-07 17:29:43 +13:00
QMK Bot
8c27ae8fd7
Merge remote-tracking branch 'origin/master' into develop
2024-10-07 04:29:33 +00:00
Álvaro A. Volpato
1a284f2b92
Fix Caps Lock indication on Valhalla v2 ( #23012 )
...
* Fix Caps Lock indication
* User LED state function override added
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Change backlight enabled check and remove backlight headers
Co-authored-by: Drashna Jaelre <drashna@live.com>
---------
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-10-07 17:29:03 +13:00
QMK Bot
da2dbd41d5
Merge remote-tracking branch 'origin/develop' into xap
2024-10-06 17:27:57 +00:00
QMK Bot
3a5be8bd22
Merge remote-tracking branch 'origin/master' into develop
2024-10-06 17:27:18 +00:00