GithubHelp home page GithubHelp logo

esporttoys / tpmouse Goto Github PK

View Code? Open in Web Editor NEW
102.0 4.0 3.0 65 KB

A virtual trackball for Windows, via vim-like homerow controls.

License: GNU General Public License v3.0

AutoIt 100.00%
accessibility windows keyboard mouse thinkpad vim vi win32 trackball gesture

tpmouse's Introduction

TPMouse

Control the cursor with your hand staying on the keyboard's homerow, even if you don't have a ThinkPad.

Inspired by rvaiya/warpd.

Inertia Mode

image

  1. To activate, press CapsLk C or LShift RShift C. You'll see your main cursor switched to a crosshair.
  2. Press I/J/K/L to move the cursor. Hold S to brake for more precise movement, hold Space to scroll vertically/horizontally.
  3. Press F/E/R to left/right/middle click at the cursor position.
  4. To quit, press CapsLk Q or LShift RShift Q or just Esc.

Grid Mode

image

  1. To activate, press CapsLk G or LShift RShift G. You'll see your main cursor switched to a crosshair, and a thin red border surrounding your screen.
  2. Press I/J/K/L to narrow down the search border.
  3. Press F/E/R to left/right/middle click at the cursor position.
  4. To quit, press CapsLk Q or LShift RShift Q or just Esc.

Demonstration

Inertia Mode

inertia.mp4

Grid Mode

grid.mp4

Configuration

Edit the options.ini file to modify the inertia parameters or keybinds. If not present, the script uses the following defaults:

[Inertia]
DampingCoef=6
BrakingCoef=60
NormalSensitivity=1
ScrollSensitivity=1

[Bindings]
up=VK_I
left=VK_J
down=VK_K
right=VK_L
mb1=VK_F
mb2=VK_E
mb3=VK_R
brake=VK_S
scroll=VK_SPACE

The keybinds will require the script to be restarted to take effect, whereas the inertia parameters are reloaded upon activation of Inertia Mode.

tpmouse's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.