mouse.c: Reduce threshold

This commit is contained in:
Xavier Del Campo Romero 2022-09-16 20:33:39 +02:00
parent da22c8d922
commit 76a49ba3d5
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ static void update_speed(struct camera *const cam, const struct mouse *const m)
{
MAX_SPEED = 10,
STEP = 1,
THRESHOLD_X = CAMERA_CURSOR_WIDTH * 3,
THRESHOLD_Y = CAMERA_CURSOR_HEIGHT * 3
THRESHOLD_X = CAMERA_CURSOR_WIDTH / 2,
THRESHOLD_Y = CAMERA_CURSOR_HEIGHT / 2
};
const struct cursor *const c = &cam->cursor;