Coder Social home page Coder Social logo

keycursor's Introduction

KeyCursor version 1.2

  • (original version) by Nathan Schrenk.
  • originally posted on BeBits by Eugenia Loli-Queru.
  • (this version) by Oscar Lesta.

What is this?

It's just an update to Nathan Schrenk's mighty KeyCursor input_server add-on. Read his BeNewsLetter article to find more (included as article.txt).

This one does all the original version did (let you simulate a mouse using the keyboard) plus:

  • Now you have a little preferences app that allows you to:

    • choose which keys will toggle KeyCursor On/Off
    • configure the acceleration factor
    • disable KeyCursor usage, so you don't turn it on by accident.
  • PageUp and PageDown act as a vertical mouse wheel when KeyCursor its active.

    Just try it on Web+, it gives you a smooth scroll effect, kinda. I find it very useful to read the BeBook, mouseless :-)

Basic usage:

Hit and release the toggle key(s) to activate KeyCursor, then use the arrow keys to move the cursor.

The space bar key acts as the primary button, and if you press SHIFT while "clicking" with the space key, you get a secondary button event.

Hit again the toggle key(s) to deactivate it.

How to (un) install it?

Easiest way is just using HaikuDepot, or pkgman:

  • pkgman install keycursor
  • pkgman uninstall keycursor.

If compiling/installing from sources: Use the provided install.sh/uninstall.sh scripts.

What else do I need to know?

The Preflet only allows you to configure the "toggle-keys" and not the "click" or "move" keys. That's because the later are just fine for me. The source code it's included, just in case you want to make it more complete.

Interaction with other input filters: works OK with InstantClick and TwoWheels (the ones I use). Your milleage will vary.

To build from sources, just type make at the shell, then use the install scripts.

As requested by previous mantainer, I'll let you know where to get the older versions:

Thanks to:

  • Nathan Schrenk - for the original version, quite handy when things go wrong with your input_server device hacking efforts.
  • Thomas Thiriez - I used part of his EasyMove input_server filter addon and prefs app.
  • OBOS (now Haiku) devs - I used some bytes from their cvs too.
  • Eugenia - for transfering the app to me.

History/Changelog

Newer versions, if any, will be available here: https://github.com/HaikuArchives/KeyCursor

1.2 Haiku-only from now on...

Fixed the issue where Tracker didn't registered double-clicks issue#1

Minor changes and cleanups.

1.1 First version:

For BeOS (2004/04/16):

For Haiku (2021/12/15):

Notes

On BeOS R5, we could have the same binary "KeyCursor" addon placed in "add-ons/input_server/filter" and a symlink with the same name under "add-ons/input_server/devices" and it would work.

On Haiku that doesn't seems to work at all, and KeyCursor only works when those do NOT have the same name (changing the name of either the binary, or the name of the symlink, makes it work).

keycursor's People

Contributors

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