aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/behaviors
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/behaviors')
-rw-r--r--app/src/behaviors/behavior_sensor_rotate_key_press.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/behaviors/behavior_sensor_rotate_key_press.c b/app/src/behaviors/behavior_sensor_rotate_key_press.c
index ed6eedae9d..72e33ea46b 100644
--- a/app/src/behaviors/behavior_sensor_rotate_key_press.c
+++ b/app/src/behaviors/behavior_sensor_rotate_key_press.c
@@ -21,7 +21,8 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
static int behavior_sensor_rotate_key_press_init(const struct device *dev) { return 0; };
static int on_sensor_binding_triggered(struct zmk_behavior_binding *binding,
- const struct device *sensor, int64_t timestamp) {
+ const struct device *sensor, uint32_t virtual_key_position,
+ int64_t timestamp) {
struct sensor_value value;
int err;
uint32_t keycode;