Ilya Zhuravlev
7b247bc800
Merge remote-tracking branch 'qmk/master' into merge-2025-06-21
2025-06-21 16:00:42 -06:00
Joel Challis
ab1332bb6c
Remove force disable of NKRO when Bluetooth enabled ( #25201 )
2025-05-06 06:47:44 +01:00
Nick Brassel
2b00b846dc
Non-volatile memory data repository pattern ( #24356 )
...
* First batch of eeconfig conversions.
* Offset and length for datablocks.
* `via`, `dynamic_keymap`.
* Fix filename.
* Commentary.
* wilba leds
* satisfaction75
* satisfaction75
* more keyboard whack-a-mole
* satisfaction75
* omnikeyish
* more whack-a-mole
* `generic_features.mk` to automatically pick up nvm repositories
* thievery
* deferred variable resolve
* whitespace
* convert api to structs/unions
* convert api to structs/unions
* convert api to structs/unions
* fixups
* code-side docs
* code size fix
* rollback
* nvm_xxxxx_erase
* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.
* Fixup build.
* Fixup compilation error with encoders.
* Build fixes.
* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.
* Build failure rectification.
2025-03-21 23:38:34 +11:00
Ilya Zhuravlev
760225f515
Merge remote-tracking branch 'qmk/master' into merge-2025-02-08
2025-02-08 20:14:59 -06: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
Ilya Zhuravlev
66574eb854
Merge remote-tracking branch 'qmk/master' into merge-2023-12-16
2023-12-16 10:48:34 -06:00
Ryan
0c160e1fba
Separate 6KRO and NKRO report structs ( #22267 )
2023-10-23 15:43:46 +11:00
Ilya Zhuravlev
e390a34128
Merge remote-tracking branch 'qmk/master' into merge-2023-09-08
2023-09-08 20:53:27 -06:00
precondition
1abf8f3e8b
[Feature] Send a dummy keycode to neutralize flashing modifiers in retro tap and key overrides ( #20992 )
2023-07-08 00:18:02 +10:00
Ilya Zhuravlev
d6e95213e3
Merge remote-tracking branch 'qmk/master' into merge-2023-06-03
2023-06-03 12:35:25 -06:00
Manuel Ullmann
1502193181
quantum/action_util.c: Use uint8_t for oneshot_layer_data ( #20423 )
2023-04-12 07:24:07 -07:00
Kasimir Pihlasviita
46844347c4
Fix OSMs getting stuck ( #20034 )
2023-04-03 15:38:44 +10:00
Ilya Zhuravlev
06a2fdcc9c
Merge remote-tracking branch 'qmk/master' into merge-2023-03-12
2023-03-18 17:51:58 -06:00
Ryan
cf935d97ae
Fix functions with empty params ( #19647 )
...
* Fix functions with empty params
* Found a bunch more
2023-01-20 16:21:17 +00:00
Ilya Zhuravlev
fde0c10bae
Merge remote-tracking branch 'qmk/master' into merge-2022-07-11
2022-07-11 18:40:32 -06:00
Drashna Jaelre
b8574efcd6
Fix oneshot toggle logic ( #16630 )
...
* Fix oneshot toggle logic
* Enable oneshots by default
* Decrement eeconfig magic number due to eeconfig changes
2022-03-14 01:11:42 +00:00
Pascal Getreuer
0eb42e042c
Fix flipped One Shot logic ( #16617 )
2022-03-11 13:28:52 +00:00
Ilya Zhuravlev
3a3c93383f
Merge remote-tracking branch 'qmk/master' into merge-2022-03-06
2022-03-06 20:07:17 -06:00
Gompa
ae2c77c827
[Bug] fix v-usb connection enumeration, ifdef workaround ( #16511 )
...
Co-authored-by: Joel Challis <git@zvecr.com>
2022-03-03 09:24:04 -08:00
QMK Bot
63646e8906
Format code according to conventions ( #16322 )
2022-02-12 18:29:31 +00:00
Ryan
1d11ae3087
Rip out old macro and action_function system ( #16025 )
...
* Rip out old macro and action_function system
* Update quantum/action_util.c
Co-authored-by: Joel Challis <git@zvecr.com>
2022-01-24 21:22:20 +00:00
Stefan Kerkmann
8b865a9d64
[Core] Don't send keyboard reports that propagate no changes to the host ( #14065 )
2021-12-14 10:40:18 -08:00
Ilya Zhuravlev
f0ae3fb701
Merge remote-tracking branch 'qmk/master' into merge-2021-12-11
2021-12-11 20:19:52 -05:00
Drashna Jaelre
2980c63d3d
Fix issues with Oneshot disabling ( #14934 )
2021-11-01 09:41:24 -07:00
Drashna Jaelre
02ab7b1888
[Core] Fix "6kro enable" and clarify naming ( #14563 )
...
* Fix USB_6KRO_ENABLE compilation errors
* Add info to docs
* Rename define to be more accurate
* Remove unused rule
* Refixe docs
2021-09-29 11:37:11 -07:00
Ilya Zhuravlev
cf548ab9e6
Merge branch 'qmk-pre-merge-2021-09-12' into qmk-merge-2021-09-12
2021-09-12 14:08:31 -04:00
Joel Challis
b8e913c8db
Migrate platform independent code from tmk_core -> quantum ( #13673 )
...
* Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum
2021-08-18 00:18:58 +01:00