Closed masinter closed 3 years ago
The scroll-wheel is indistinguishable from the mac trackpad vertical scrolling action (X mouse buttons 4 and 5) and the trackpad horizontal scrolling gives you buttons 6 and 7.
I found that there are \KEYNAMES for the Dolphin/Dorado key set already in the system (PAD1..PAD5, aka LEFTKEY, LEFTMIDDLEKEY, MIDDLEKEY, RIGHTMIDDLEKEY, RIGHTKEY plus there are a few other aliases based on the numeric keypad keys) and I've experimented with adding code to wire the X events up to 4 of the key-set keys -- not clear what the right assignment would be, though perhaps it doesn't matter. Given that it's possible to detect the keys, there's still a bunch of design around the user interaction and coding to make it work as a scrolling function (if the cursor is in the scroll bar, each keydown/keyup event scrolls by some amount from the current position?)
This is just one of a set of related issues to make the keyboard and mouse interactions match more closely modern expectations. I'd suggest trying to set up key actions following user interface guidelines for Mac, Windows, Linux Emacs for line editing on input, control character interrupts and reset. In Emacs, Lisp mode for current common lisp programmers.
The "help wanted" in this involves working in the Interlisp code, at the level of LLKEY and friends, which is a very delicate part of the system... NOT a job for beginners.
"help wanted" is different than "good first time project". In this case, what we need is someone to research what key bindings are now and what they should be. Also for window actions, menus, etc.
I don't think the fact that Interlisp pre-dated Mac and Windows and Linux UI guidelines is important to preserve
This is addressed by the WHEELSCROLL file in Lispusers
@nbriggs
(taking emails to mailing list and making issues)