GithubHelp home page GithubHelp logo

mrcarlosrendon / binarysearchmouseemulator Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 45 KB

A Windows mouse emulator that uses the keyboard and binary search for efficiency

License: MIT License

C++ 82.03% C 17.97%

binarysearchmouseemulator's Introduction

BinarySearchMouseEmulator

A Windows mouse emulator that uses the keyboard and binary search for efficiency.

Controls:

Press F12 to toggle keyboard controlled mouse mode.

NOTE: Windows will not respond to your keyboard presses when this is active

Press Home to center the mouse cursor on your screen

Use arrow keys to control the mouse. If you get stuck just press Home again.

The way to get where you want is to always press the arrow key in the direction you need the mouse to move to get where you want to go. The mouse may overshoot, this is okay, now you just press the arrow key in the opposite direction until you arrive or you overshoot again. Notice that the distance the cursor moves is halved each move along the same axis. This binary search allows for rapid and precise movement of the mouse using the keyboard.

Press Caps Lock to left-click.

NOTE: To allow for easily click and drag, left-click stays clicked until you press Caps Lock again. Unfortunately this means double-click is four fast presses of Caps Lock.

Press Scroll Lock to right-click.

NOTE: see left-click NOTE.

NOTE: On Windows 7 and above this application stops functioning when a system control comes up, such as UAC or Task manager. This is a Windows security feature. I believe signing the application with a valid certificate gets around this, but I don't care enough to buy a certificate.

Build instructions:

Use Visual Studio if you don't trust the posted .exe. It is a keyboard hook after-all.

binarysearchmouseemulator's People

Contributors

mrcarlosrendon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

chinnyannieb

binarysearchmouseemulator's Issues

No explanatory screencast

It turns out to be quite difficult to explain what this is without a demo.
Create a screencast demo. Ideally as a gif, but a youtube works too.

No Visual Feedback

Suggest creating a status icon like those that exist for track pads that shows the current state of the virtual mouse.

Also consider visual feedback when performing the binary search (if possible).

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.