Git Product home page Git Product logo

scrollemu's Introduction

SCROLLEMU

scrollemu is a simple utility that allows you to scroll by holding down a keyboard modifier key and move your mouse cursor. This is especially nice if you use a trackball or a pointing stick, but it works for all pointing devices.

I quickly put this script together to make it easier to scroll with my trackball. It works well on my system without any noticeable impacts on performance. Your mileage may vary.

Requirements

The script should work on all major platforms (Linux with Xorg, Windows, macOS) but has only been tested on Linux. Wayland is currently not supported.

Install

There is no special install procedure. Simply clone the Git repository:

git clone https://github.com/hanschen/scrollemu.git

and run the scrollemu.py script inside the cloned directory. Optionally, you can add the scrollemu directory to your PATH.

Usage

scrollemu.py

The script will run until killed. If you find that it works well, you can add scrollemu.py to autostart.

Options

Take a look at the top of the scrollemu.py script. In particular, you may want to change the SCROLL_KEY and SENSITIVITY options.

If scrolling acts weird, try to disable ACCELERATION.

Known issues and future plans

Keyboard key is still interpreted as held down. This is an issue if e.g. Ctrl is used as the scroll key, as many applications bind Ctrl+scroll to zoom in/out.

Mouse cursor flickers when scrolling. No idea how to solve this issue, any solutions would be greatly appreciated.

The current script works well for my needs and I don't plan to put much effort into updating it further. With that said, pull requests are always welcome!

Contact

Author: Hans Chen ([email protected])

Website: https://github.com/hanschen/scrollemu

scrollemu's People

Contributors

hanschen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.