summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2025-05-04 17:21:47 -0700
committerGitHub <noreply@github.com>2025-05-05 10:21:47 +1000
commit12caf0be4eab171ffeb041cc153f9addb68f404e (patch)
tree0b89fa2aa4c5ce4a525d1385a10489844e413ee9 /data
parentbb9dd05c6ae0a53ced5591c70a898feef037b31c (diff)
Add additional hooks for Community modules (#25050)
Diffstat (limited to 'data')
-rw-r--r--data/constants/module_hooks/1.1.0.hjson55
1 files changed, 55 insertions, 0 deletions
diff --git a/data/constants/module_hooks/1.1.0.hjson b/data/constants/module_hooks/1.1.0.hjson
new file mode 100644
index 0000000000..b50dad6a66
--- /dev/null
+++ b/data/constants/module_hooks/1.1.0.hjson
@@ -0,0 +1,55 @@
1{
2 pointing_device_init: {
3 ret_type: void
4 args: void
5 guard: defined(POINTING_DEVICE_ENABLE)
6 }
7 pointing_device_task: {
8 ret_type: report_mouse_t
9 args: report_mouse_t mouse_report
10 call_params: mouse_report
11 guard: defined(POINTING_DEVICE_ENABLE)
12 header: report.h
13 }
14 rgb_matrix_indicators: {
15 ret_type: bool
16 args: void
17 guard: defined(RGB_MATRIX_ENABLE)
18 header: rgb_matrix.h
19 }
20 rgb_matrix_indicators_advanced: {
21 ret_type: bool
22 args: uint8_t led_min, uint8_t led_max
23 call_params: led_min, led_max
24 guard: defined(RGB_MATRIX_ENABLE)
25 header: rgb_matrix.h
26 }
27 led_matrix_indicators: {
28 ret_type: bool
29 args: void
30 guard: defined(LED_MATRIX_ENABLE)
31 header: led_matrix.h
32 }
33 led_matrix_indicators_advanced: {
34 ret_type: bool
35 args: uint8_t led_min, uint8_t led_max
36 call_params: led_min, led_max
37 guard: defined(LED_MATRIX_ENABLE)
38 header: led_matrix.h
39 }
40 default_layer_state_set: {
41 ret_type: layer_state_t
42 args: layer_state_t state
43 call_params: state
44 guard: !defined(NO_ACTION_LAYER)
45 header: action_layer.h
46 }
47 layer_state_set: {
48 ret_type: layer_state_t
49 args: layer_state_t state
50 call_params: state
51 guard: !defined(NO_ACTION_LAYER)
52 header: action_layer.h
53 }
54
55}