diff --git a/right/src/action.c b/right/src/action.c index 8702c2c..694d2f5 100644 --- a/right/src/action.c +++ b/right/src/action.c @@ -92,13 +92,6 @@ static bool handleKey(uhk_key_t key, int scancodeIdx, usb_keyboard_report_t *rep return false; } - -#define MOUSE_WHEEL_SPEED 1 -#define MOUSE_WHEEL_DIVISOR 4 - -#define MOUSE_MAX_SPEED 10 -#define MOUSE_SPEED_ACCEL_DIVISOR 50 - static uint8_t mouseWheelDivisorCounter = 0; static uint8_t mouseSpeedAccelDivisorCounter = 0; static uint8_t mouseSpeed = 3; diff --git a/right/src/action.h b/right/src/action.h index df7441d..823bd88 100644 --- a/right/src/action.h +++ b/right/src/action.h @@ -59,6 +59,12 @@ enum { UHK_MOUSE_SCROLL_RIGHT = (1 << 3), }; +#define MOUSE_WHEEL_SPEED 1 +#define MOUSE_WHEEL_DIVISOR 4 + +#define MOUSE_MAX_SPEED 10 +#define MOUSE_SPEED_ACCEL_DIVISOR 50 + typedef struct { uint8_t type; union {