Coder Social home page Coder Social logo

wheelfix's Introduction

WheelFix

After being frustrated with the new mouse wheel behavior of macOS I have decided to give myself another try. All solutions I have found on network until now were either expensive or not satisfying me. The App is also a kind of excercise for me. Until now I was not writing any software for macOS (well, I did but not using native toolkit) and at the same time the first attempt to code in swift. Please forgive any mistakes (or correct me where I am doing it wrong :-))

In my attempt I am not trying to blindly modify all wheel events my app receives. Instead I'm distinguishing two cases:

  • Beginning of the wheel movement (i.e. temporal distance between last wheel movement and the actual one is large)
  • Within wheel movement (i.e. temporal distance between last wheel movement and the actual one is small)

In case of the latter my App does not allow for a change of movement direction. If such event happens, it will be discarded. I have found out that this one solved almost all of the mouse wheel issues in my case. Future versions will add an App window for fine-tuning of the wheel filter as well as some fancy wheel speed correction curves (user customizable of course)

wheelfix's People

Contributors

michalsc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.