diff options
Diffstat (limited to 'app/src/behaviors/behavior_keymap.c')
-rw-r--r-- | app/src/behaviors/behavior_keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/behaviors/behavior_keymap.c b/app/src/behaviors/behavior_keymap.c index 48f8547..9369b40 100644 --- a/app/src/behaviors/behavior_keymap.c +++ b/app/src/behaviors/behavior_keymap.c @@ -23,14 +23,14 @@ static int behavior_keymap_init(struct device *dev) return 0; }; -static int on_position_pressed(struct device *dev, u32_t row, u32_t column) +static int on_position_pressed(struct device *dev, u32_t position, u32_t _) { - return zmk_keymap_position_state_changed(row, column, true); + return zmk_keymap_position_state_changed(position, true); } -static int on_position_released(struct device *dev, u32_t row, u32_t column) +static int on_position_released(struct device *dev, u32_t position, u32_t _) { - return zmk_keymap_position_state_changed(row, column, false); + return zmk_keymap_position_state_changed(position, false); } static const struct behavior_driver_api behavior_keymap_driver_api = { |