|
|
@ -18,7 +18,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); |
|
|
|
#include <zmk/endpoints.h> |
|
|
|
#include <zmk/endpoints.h> |
|
|
|
#include <zmk/mouse.h> |
|
|
|
#include <zmk/mouse.h> |
|
|
|
|
|
|
|
|
|
|
|
#if !defined(CONFIG_ZMK_SPLIT) || defined(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL) |
|
|
|
#if !defined(CONFIG_ZMK_SPLIT) || defined(CONFIG_ZMK_SPLIT_ROLE_CENTRAL) |
|
|
|
static struct vector2d move_speed = {0}; |
|
|
|
static struct vector2d move_speed = {0}; |
|
|
|
static struct vector2d scroll_speed = {0}; |
|
|
|
static struct vector2d scroll_speed = {0}; |
|
|
|
static struct mouse_config move_config = (struct mouse_config){0}; |
|
|
|
static struct mouse_config move_config = (struct mouse_config){0}; |
|
|
@ -160,4 +160,4 @@ ZMK_SUBSCRIPTION(mouse_listener, zmk_mouse_button_state_changed); |
|
|
|
ZMK_SUBSCRIPTION(mouse_listener, zmk_mouse_move_state_changed); |
|
|
|
ZMK_SUBSCRIPTION(mouse_listener, zmk_mouse_move_state_changed); |
|
|
|
ZMK_SUBSCRIPTION(mouse_listener, zmk_mouse_scroll_state_changed); |
|
|
|
ZMK_SUBSCRIPTION(mouse_listener, zmk_mouse_scroll_state_changed); |
|
|
|
|
|
|
|
|
|
|
|
#endif /* CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL */ |
|
|
|
#endif /*!defined(CONFIG_ZMK_SPLIT) || defined(CONFIG_ZMK_SPLIT_ROLE_CENTRAL) */ |
|
|
|