aboutsummaryrefslogtreecommitdiffstats
path: root/data/constants/module_hooks/1.0.0.hjson
diff options
context:
space:
mode:
authorNick Brassel2025-02-27 23:23:04 +0100
committerNick Brassel2025-02-27 23:23:04 +0100
commita63fd7f01cdabd9ce85bb09ae2b573fd3b8e60aa (patch)
tree35d817580e5244d62a150a2d012f72906a610977 /data/constants/module_hooks/1.0.0.hjson
parent6d0e5728aa61b442885d48caf49d29e5c60e8197 (diff)
parentcdb865cf60b17593f5c811c24a21d7b3030d8653 (diff)
Merge remote-tracking branch 'upstream/develop'
Diffstat (limited to 'data/constants/module_hooks/1.0.0.hjson')
-rw-r--r--data/constants/module_hooks/1.0.0.hjson26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/constants/module_hooks/1.0.0.hjson b/data/constants/module_hooks/1.0.0.hjson
new file mode 100644
index 0000000000..4e7bf30412
--- /dev/null
+++ b/data/constants/module_hooks/1.0.0.hjson
@@ -0,0 +1,26 @@
+{
+ housekeeping_task: {
+ ret_type: void
+ args: void
+ }
+ suspend_power_down: {
+ ret_type: void
+ args: void
+ }
+ suspend_wakeup_init: {
+ ret_type: void
+ args: void
+ }
+ shutdown: {
+ ret_type: bool
+ args: bool jump_to_bootloader
+ call_params: jump_to_bootloader
+ }
+ process_detected_host_os: {
+ ret_type: bool
+ args: os_variant_t os
+ call_params: os
+ guard: defined(OS_DETECTION_ENABLE)
+ header: os_detection.h
+ }
+}