[Y-devel] Widget set progress

JP Dinger jpd at dsb.tudelft.nl
Sat Apr 17 13:43:14 BST 2004


[I'm seriously contemplating moving the `L' to the `r', now]
On Fri, Apr 16, 2004 at 08:20:25AM +0200, Thorsten Wilms wrote:
> 
> Well, shouldn't there be a little more abstraction? The mouse 
> is not the only pointing device ...

And then, there are mice with a looking glass, and with twenty buttons,
and... (At least there used to be)

Oh and what about spaceballs? Maybe a joystick isn't too far out for
moving around the mouse cursor? How does one intergrate a tablet?


> However, (Mouse)Pressed is not enough, there should be (Mouse)Down 
> and Up. Then you usualy have three mouse buttons, but it might 
> be nice for left handed people to switch roles of R and L button, 
> so it might be better to deal with them in terms of 'roles'. 

While I think rolification is basically a good idea, what (standard)
roles do we have for mouse buttons? We have standard _functions_,
as well as even more non-standard functions, but no fixed role ``per
click''. FreeBSDs moused (and net- and openbsds too, I think, and
the linux equivalent probably as well) allows one to swap mouse
button numbers. That is much more of a hack but probably easier both
to implement and to explain to users.

Then again, Y is the perfect vehicle to experiment with this, so
don't let my comments get in the way of that.


> Standard modifier keys could be defined for simulating the missing 
> buttons on those mice (click with modifier key directly translated 
> to the 'role').
> Maybe support an arbitrary number of buttons on pointing devices. 
> And don't forget the mouse wheel.

Or a mouse-mini-joystick instead of the wheel, and an extra wheel on
the side, and...

Most of these are short-lived fads, but since they all have something
or other in common, abstraction seems indeed the way to go.


-- 
  j p d (at) d s b (dot) t u d e l f t (dot) n l .



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved