[haiku-bugs] Re: [Haiku] #17472: please add support for "PointerKeys"

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 14 Dec 2021 17:52:53 -0000

#17472: please add support for "PointerKeys"
-------------------------------+-------------------------
  Reporter:  bitemyshinymetal  |      Owner:  stippi
      Type:  enhancement       |     Status:  new
  Priority:  normal            |  Milestone:  Unscheduled
 Component:  User Interface    |    Version:  R1/beta3
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+-------------------------
Comment (by bitemyshinymetal):

 Replying to [comment:5 bipolar]:

Ok, just a follow-up. I managed to find some copies of my old
 "KeyCursor" on some scratched CD-Rs. Couldn't make it work with Haiku
 beta3 64 bits (after fighting with GCC 11 for a while):

Placed the addon in ~/config/non-
 packaged/addons/input_server/{device|filter}, restarted the
 input_server... no luck, it seems to not get loaded.

Tried placing them in /boot/system/non-
 packaged/addons/input_server/{device|filter}, restarted the
 input_server... got some nasty KDL due to one of the threads of
 KeyCursorDevice... had to reset the computer the hard way (reset button).

I was never a real C/C++ developer, just a tinkerer, and haven't really
 touched C/C++ code since 2005 :-D, so I SUCK at this, so I REALLY doubt I
 can make this work on modern Haiku.

But... What I'll do is, point in the right direction, and link to two
 resources that should make it a breeze, to any Haiku developer, to
 implement proper support for "Mouse Keys".

1: http://ftp.ntua.gr/pub/BeOS/samples/input_server/KeyCursor.zip

2: https://en.wikipedia.org/wiki/Mouse_keys

The first link is the ORIGNAL KeyCursor, made by Be, Inc. as a sample
 code. It cames with an "article.txt" explaining how it works ("Be Sample
 Code License" !!!).

My version just added a basic Preference app, and simulating scroll
 wheels with the Page Up/Down keys. I'll just attach my version here too,
 in case someone can make any use of it (it is from 2004, intended to work
 on BeOS, not Haiku, so don't run the {un}installer scripts).

The second link explains how X Window does it. I think the button
 handling and keymapping is better than what KeyCursor had (arrow-keys for
 movement, and space-bar for clicks). Would be nice to have one that
 follows X Windows layout.


Replying to [comment:4 bitemyshinymetal]:
Thanks mate, it means a lot to me :P

Sorry for not being more helpful, but I better not keep you waiting in
 vain. Man, I wish I could do more, but... my aging brain ain't helping :-P

 Oh, still, thank you very much for your effort.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17472#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: