From 4a1a9bc8f7e8f1c91c83ddc32c40d385896e31b6 Mon Sep 17 00:00:00 2001 From: Chatblanc77 <107761260+Chatblanc77@users.noreply.github.com> Date: Fri, 9 Sep 2022 13:09:44 +0700 Subject: [PATCH] Update service.h --- app/include/zmk/split/bluetooth/service.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/include/zmk/split/bluetooth/service.h b/app/include/zmk/split/bluetooth/service.h index 30dec256..b3b3b251 100644 --- a/app/include/zmk/split/bluetooth/service.h +++ b/app/include/zmk/split/bluetooth/service.h @@ -6,6 +6,8 @@ #pragma once +#include + #define ZMK_SPLIT_RUN_BEHAVIOR_DEV_LEN 9 struct zmk_split_run_behavior_data { @@ -22,3 +24,4 @@ struct zmk_split_run_behavior_payload { int zmk_split_bt_position_pressed(uint8_t position); int zmk_split_bt_position_released(uint8_t position); +int zmk_split_bt_sensor_triggered(uint8_t sensor_number, struct sensor_value value);