aboutsummaryrefslogtreecommitdiff
path: root/data/constants/module_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'data/constants/module_hooks')
-rw-r--r--data/constants/module_hooks/1.1.0.hjson55
-rw-r--r--data/constants/module_hooks/1.1.1.hjson3
2 files changed, 58 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 @@
+{
+ pointing_device_init: {
+ ret_type: void
+ args: void
+ guard: defined(POINTING_DEVICE_ENABLE)
+ }
+ pointing_device_task: {
+ ret_type: report_mouse_t
+ args: report_mouse_t mouse_report
+ call_params: mouse_report
+ guard: defined(POINTING_DEVICE_ENABLE)
+ header: report.h
+ }
+ rgb_matrix_indicators: {
+ ret_type: bool
+ args: void
+ guard: defined(RGB_MATRIX_ENABLE)
+ header: rgb_matrix.h
+ }
+ rgb_matrix_indicators_advanced: {
+ ret_type: bool
+ args: uint8_t led_min, uint8_t led_max
+ call_params: led_min, led_max
+ guard: defined(RGB_MATRIX_ENABLE)
+ header: rgb_matrix.h
+ }
+ led_matrix_indicators: {
+ ret_type: bool
+ args: void
+ guard: defined(LED_MATRIX_ENABLE)
+ header: led_matrix.h
+ }
+ led_matrix_indicators_advanced: {
+ ret_type: bool
+ args: uint8_t led_min, uint8_t led_max
+ call_params: led_min, led_max
+ guard: defined(LED_MATRIX_ENABLE)
+ header: led_matrix.h
+ }
+ default_layer_state_set: {
+ ret_type: layer_state_t
+ args: layer_state_t state
+ call_params: state
+ guard: !defined(NO_ACTION_LAYER)
+ header: action_layer.h
+ }
+ layer_state_set: {
+ ret_type: layer_state_t
+ args: layer_state_t state
+ call_params: state
+ guard: !defined(NO_ACTION_LAYER)
+ header: action_layer.h
+ }
+
+}
diff --git a/data/constants/module_hooks/1.1.1.hjson b/data/constants/module_hooks/1.1.1.hjson
new file mode 100644
index 0000000000..49f5d0d5d0
--- /dev/null
+++ b/data/constants/module_hooks/1.1.1.hjson
@@ -0,0 +1,3 @@
+{
+ // This version exists to signify addition of LED/RGB effect support.
+}