Code Monkey home page Code Monkey logo

Comments (7)

evilC avatar evilC commented on August 10, 2024

You then stop, and the mouse will report like "5, 4, 3, 2, 1, 0"

This is talking about the data coming from your REAL mouse, not the data that RollMouse is sending.
By design, RollMouse NEVER stops sending input until you put the mouse back on the mat, or touch your finger back to the pad.

unless I push my finger on the pad within the opposite direction

Incorrect, it can be in the same direction. ANY motion from the real mouse will stop the roll

So you want to add some "Friction" to the roll?

from rollmouse.

evilC avatar evilC commented on August 10, 2024

I had a look, and adding a "Friction" option is not trivial.
Because mouse movement is in integer units, often the amount to move is 1, it is non-trivial to move slower and slower. The tick rate would need to change, rather than the move amount.
Unless of course your mouse was high DPI, and each move amount was larger numbers

from rollmouse.

evilC avatar evilC commented on August 10, 2024

Actually, scrub that, it was not hard at all.
New version released - 1.0.8 - with new Friction option (Defaults to 0)

from rollmouse.

Alomphega avatar Alomphega commented on August 10, 2024

Great ! (and express service : wow! ;-) )
And almost perfect : the way of the cursor seems to not be really straight, maybe I miss something ?
About settings, Factor = 0.2 ; Treeshold = 1 ; Friction = 0.5 are for my Logitech Trackpad the good ones.
Best Regards,
Guy

from rollmouse.

evilC avatar evilC commented on August 10, 2024

If you use a decimal for fraction, the deceleration will not be uniform.
Movements are integers, so if it would normally move 10, 10, 10 but you subtract 0.5 each time, it would be 10, 9.5 (9), 9.0 (9), 8.5 (8), 8.0 (8) ...

from rollmouse.

evilC avatar evilC commented on August 10, 2024

Also, FYI, I do not really intend to update this version of RollMouse much more. I have a new implementation in the works - see here for a prototype.

from rollmouse.

Alomphega avatar Alomphega commented on August 10, 2024

By "straight" I wanted to say "linear", I did not talk about the decrease of speed, but the traced line... So maybe a small bug, but I understand you don't want to update and you prefer to work on your new implementation ! The ggglide.ahk do the job pretty well as this, and we can wait for yours to have a software with graphical interface for our own choices and settings, this will be luxury ! :-D

from rollmouse.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.