qmk_firmware/tmk_core/protocol
Purdea Andrei b02a539625
Added power tracking api (#12691)
* Add power tracking API to lufa and chibios targets

* power.c: Pass through power state to the notify function

* power: added notify_power_state_change_user too.

* making it pass the PR linter

* Add a POWER_STATE_NO_INIT state, that we start in before calling power_init();

* Rename *power* to *usb_power*

* removing stray newline

* Rename usb_power* to usb_device_state*

* Update quantum/usb_device_state.h

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Fix comment

* usb_device_state.h: Don't include quantum.h, only the necessary headers.

Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-09-30 06:31:39 +10:00
..
arm_atsam
chibios Added power tracking api (#12691) 2021-09-30 06:31:39 +10:00
lufa Added power tracking api (#12691) 2021-09-30 06:31:39 +10:00
midi
usb_hid
vusb
adb.c
adb.h
arm_atsam.mk
chibios.mk
lufa.mk
m0110.c
m0110.h
midi.mk
ps2_busywait.c
ps2_interrupt.c
ps2_io_avr.c
ps2_io_chibios.c
ps2_io.h
ps2_mouse.c
ps2_mouse.h
ps2_usart.c
ps2.h
serial_mouse_microsoft.c
serial_mouse_mousesystems.c
serial_mouse.h
serial_soft.c
serial_uart.c
serial.h
usb_descriptor_common.h
usb_descriptor.c
usb_descriptor.h
usb_hid.mk
vusb.mk
xt_interrupt.c
xt.h