hrvach / deskhop

Fast Desktop Switching Device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Mouse accelleration

github-k8n opened this issue · comments

Deskhop is working great, however the fact that there is no accelleration built in is a bit of a bummer. (due to it being an absolute pointing device, i can't set it in the OS itself.

Maybe some simple lookup table or array in the code could be used to determine the mouse movement.
Calculate the (vector) speed and then look up the appropriate multiplication factor..
10 -> 1
20 -> 1.5
30 -> 2

That way everyone could set up their own speed curve.

(Accelleration helps a lot when just flicking the cursor into another screen section but still being able to fine control the movement.)

While not a full acceleration curve, there is already this in user_config.h:

  • JUMP_THRESHOLD: [0-32768], sets the "force" you need to use to drag the
  • mouse to another screen, 0 meaning no force needed at all, and ~500 some force
  • needed, ~1000 no accidental jumps, you need to really mean it.

which is there to prevent accidental jumps.

As for helping you accelerate the mouse movement to switch faster, that's a great idea - added to the list.

Just to clarify, I am NOT talking about switching between computers, that is working great as-is (i set it to 100).
It is about the acceleration of the mouse cursor within the screen.
That's one of the things you just don't notice until it isn't there anymore..

This should not be hard to implement, I just never noticed this as something I miss (but then again I was using a 2$ mouse and thought that was fine too 😀 )

I'd like to second this request - I've just built my first deskhop and it's awesome, but mouse acceleration would be great!

Implemented. Please check and let me know if you have a better acceleration curve to suggest.

Thank you! Works like a charm!
(Now i just have to get used again to mouse accelleration after working without it for a while since using deskhop :P )