[Y-devel] Widget set progress
Thorsten Wilms t_w_ at freenet.de
Fri Apr 16 18:23:08 BST 2004
On Sat, Apr 17, 2004 at 02:43:14PM +0200, JP Dinger wrote:
>
> 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?
Well, taking any and all possible pointing devices into account
will be too hard, I think.
But the most common options besides mice have to be considered.
For the tablett the only extra that has to be dealt with is
pressure.
> 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.
Well, I think that role-names for the 3 common mouse buttons
would underline consistency. It are just names, but handling a
MouseLeftClick event that realy is from a right button because
of remapping on another level ...
Even just numbering (primary, secondary, tertiary) would be
more elegant.
> > 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.
Yes, best is to concentrate on what is common between pointing devices.
But at least mousewheels, maybe the Microsoft 2 direction thingy and for
sure pressure (tabletts) should be dealt with right from start.
---
Thorsten Wilms
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved