humdingerb / KeyCursor

Using a Keyboard as a Pointing Device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Using a Keyboard as a Pointing Device


Languages

Language:C++ 94.4%Language:Makefile 3.6%Language:Shell 2.0%