summaryrefslogtreecommitdiff
path: root/quantum/action_util.c
AgeCommit message (Collapse)AuthorFilesLines
2025-11-11[Core] Speculative Hold option for mod-taps: hold mods instantly while ↵Pascal Getreuer1-0/+5
unsettled. (#25572)
2025-09-30[Feature] Implement `mod_t` packed struct (#25168)Pablo Martínez1-7/+40
2025-05-06Remove force disable of NKRO when Bluetooth enabled (#25201)Joel Challis1-6/+3
2025-03-21Non-volatile memory data repository pattern (#24356)Nick Brassel1-1/+1
* 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.
2024-10-18[Core] `usb_device_state`: consolidate usb state handling across ↵Stefan Kerkmann1-1/+2
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>
2023-10-23Separate 6KRO and NKRO report structs (#22267)Ryan1-12/+45
2023-07-08[Feature] Send a dummy keycode to neutralize flashing modifiers in retro tap ↵precondition1-0/+25
and key overrides (#20992)
2023-04-12quantum/action_util.c: Use uint8_t for oneshot_layer_data (#20423)Manuel Ullmann1-1/+1
2023-04-03Fix OSMs getting stuck (#20034)Kasimir Pihlasviita1-0/+12
2023-01-20Fix functions with empty params (#19647)Ryan1-2/+2
* Fix functions with empty params * Found a bunch more
2022-03-14Fix oneshot toggle logic (#16630)Drashna Jaelre1-8/+7
* Fix oneshot toggle logic * Enable oneshots by default * Decrement eeconfig magic number due to eeconfig changes
2022-03-11Fix flipped One Shot logic (#16617)Pascal Getreuer1-3/+4
2022-03-03[Bug] fix v-usb connection enumeration, ifdef workaround (#16511)Gompa1-0/+4
Co-authored-by: Joel Challis <git@zvecr.com>
2022-02-12Format code according to conventions (#16322)QMK Bot1-35/+97
2022-01-24Rip out old macro and action_function system (#16025)Ryan1-31/+2
* Rip out old macro and action_function system * Update quantum/action_util.c Co-authored-by: Joel Challis <git@zvecr.com>
2021-12-14[Core] Don't send keyboard reports that propagate no changes to the host ↵Stefan Kerkmann1-1/+8
(#14065)
2021-11-01Fix issues with Oneshot disabling (#14934)Drashna Jaelre1-1/+2
2021-09-29[Core] Fix "6kro enable" and clarify naming (#14563)Drashna Jaelre1-10/+0
* Fix USB_6KRO_ENABLE compilation errors * Add info to docs * Rename define to be more accurate * Remove unused rule * Refixe docs
2021-08-18Migrate platform independent code from tmk_core -> quantum (#13673)Joel Challis1-0/+455
* Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum