qmk_firmware/quantum
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
..
api
audio Remove GCC version check from song list inclusion (#14600) 2021-09-25 18:35:27 +01:00
backlight fix typo in backlight code from #14439 (#14442) 2021-09-15 03:37:45 +01:00
bootmagic
debounce
keymap_extras Merge remote-tracking branch 'origin/master' into develop 2021-08-23 22:06:37 +00:00
led_matrix
logging
process_keycode Add ability to use numpad digits for unicode mode UC_WIN (#14496) 2021-09-21 15:23:49 -07:00
rgb_matrix [Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451) 2021-09-15 10:07:08 -07:00
rgblight
sequencer
serial_link
split_common [Core] Refactor OLED to allow easy addition of other types (#13454) 2021-08-24 16:28:26 +10:00
visualizer
action.c Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
action.h Apply `TAP_CODE_DELAY` to Tap Dance key sequences (#14412) 2021-09-13 00:48:11 +01:00
action_code.h
action_layer.c
action_layer.h
action_macro.c
action_macro.h
action_tapping.c Revert 14083 && 14144 (#14150) 2021-08-25 01:16:59 +01:00
action_tapping.h
action_util.c [Core] Fix "6kro enable" and clarify naming (#14563) 2021-09-29 11:37:11 -07:00
action_util.h
api.c
api.h
bitwise.c
bitwise.h
color.c
color.h
command.c
command.h
config_common.h
crc.c
crc.h
debounce.h
digitizer.c
digitizer.h
dip_switch.c
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
eeconfig.c Migrate STM32_EEPROM_ENABLE to use EEPROM_DRIVER (#14433) 2021-09-15 01:21:36 -07:00
eeconfig.h eeprom_stm32: implement high density wear leveling (#12567) 2021-08-23 23:15:34 +01:00
encoder.c
encoder.h
haptic.c
haptic.h
joystick.c
joystick.h
keyboard.c Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
keyboard.h
keycode.h
keycode_config.c
keycode_config.h
keymap.h Revert 14083 && 14144 (#14150) 2021-08-25 01:16:59 +01:00
keymap_common.c Revert 14083 && 14144 (#14150) 2021-08-25 01:16:59 +01:00
led.c
led.h
led_tables.c
led_tables.h
main.c
matrix.c Improvements to handling of disconnected split keyboards. (#14033) 2021-09-18 17:29:22 +10:00
matrix.h
matrix_common.c
mcu_selection.mk Initial pass of F405 support (#14584) 2021-09-25 00:19:41 +01:00
mousekey.c
mousekey.h
pointing_device.c
pointing_device.h
programmable_button.c Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
programmable_button.h Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
quantum.c Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
quantum.h Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
quantum_keycodes.h Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
ring_buffer.h
send_string.c
send_string.h
send_string_keycodes.h
usb_device_state.c Added power tracking api (#12691) 2021-09-30 06:31:39 +10:00
usb_device_state.h Added power tracking api (#12691) 2021-09-30 06:31:39 +10:00
util.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h
via_ensure_keycode.h
wpm.c
wpm.h