mouse.c: Reduce threshold
This commit is contained in:
parent
da22c8d922
commit
76a49ba3d5
|
@ -21,8 +21,8 @@ static void update_speed(struct camera *const cam, const struct mouse *const m)
|
||||||
{
|
{
|
||||||
MAX_SPEED = 10,
|
MAX_SPEED = 10,
|
||||||
STEP = 1,
|
STEP = 1,
|
||||||
THRESHOLD_X = CAMERA_CURSOR_WIDTH * 3,
|
THRESHOLD_X = CAMERA_CURSOR_WIDTH / 2,
|
||||||
THRESHOLD_Y = CAMERA_CURSOR_HEIGHT * 3
|
THRESHOLD_Y = CAMERA_CURSOR_HEIGHT / 2
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct cursor *const c = &cam->cursor;
|
const struct cursor *const c = &cam->cursor;
|
||||||
|
|
Loading…
Reference in New Issue