diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-12-29 20:17:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-29 20:17:34 -0800 |
| commit | c4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf (patch) | |
| tree | 67dc381a45d59626132c4c59b71c4b36fa971f8b /users/drashna/callbacks.h | |
| parent | 1a8a842cfb3e87a82afb57ba29ca59c5fa6fe97b (diff) | |
| download | qmk_firmware-c4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf.tar.gz qmk_firmware-c4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf.zip | |
[Keymap] Reorganization, cleanup and readmes for drashna code (#15617)
Diffstat (limited to 'users/drashna/callbacks.h')
| -rw-r--r-- | users/drashna/callbacks.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/users/drashna/callbacks.h b/users/drashna/callbacks.h new file mode 100644 index 000000000..f6ac6b88d --- /dev/null +++ b/users/drashna/callbacks.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "quantum.h" | ||
| 7 | |||
| 8 | void matrix_init_keymap(void); | ||
| 9 | void matrix_init_secret(void); | ||
| 10 | void shutdown_keymap(void); | ||
| 11 | void suspend_power_down_keymap(void); | ||
| 12 | void suspend_wakeup_init_keymap(void); | ||
| 13 | void matrix_scan_keymap(void); | ||
| 14 | void matrix_scan_secret(void); | ||
| 15 | layer_state_t layer_state_set_keymap(layer_state_t state); | ||
| 16 | layer_state_t default_layer_state_set_keymap(layer_state_t state); | ||
| 17 | void led_set_keymap(uint8_t usb_led); | ||
| 18 | void eeconfig_init_keymap(void); | ||
| 19 | |||
| 20 | #ifdef CUSTOM_UNICODE_ENABLE | ||
| 21 | void matrix_init_unicode(void); | ||
| 22 | #endif | ||
| 23 | #ifdef SPLIT_KEYBOARD | ||
| 24 | void matrix_slave_scan_keymap(void); | ||
| 25 | #endif | ||
