[Y-devel] Widget set progress

Matthew Elder sseses02 at hotmail.com
Sun Apr 18 08:16:16 BST 2004


I think the best approach for different devices in y-windows would be to go
for the modular approach.  Theres no way of knowing what type of input
devices will be developed in the future.  We don't want to stifle that type
of development by making a "cookie cutter" of what an input device has to
be.

We could have a module for mouse input devices, keyboards etc.. and maybe
perhaps we can develop some sort of gui config menu that you can use to
"map" different functions to the buttons on your device.  I think this is
the most flexible solution.

For instance with the example of touchpads, the module created for it could
provide for the different input parameters the device has. i.e. axis
u,v,w,x,y etc etc. and you could map each one of these to a general "window
function."  It would also be cool to provide an api for client applications
to access the extended functions of a device you would not use for most
"desktop browsing."

For instance when your manipulating a typical desktop, perhaps only the x
and y access parameters of the touchpad would be used, and then the pressure
of it would be used for clicking.  these would be fully configurable, you
could map them differently if you want.

If you were using gimp, there would be an extended api to access the devices
under the general umbrella of "touchpads" (which would be developed,
respectively by the creator of the module).  The gimp would be able to
implement event handling for the other input received from the touchpad..

Just my two cents, sorry if it not clear :)

-Matt Elder
(hifidelity on irc)



More information about the Y-devel mailing list









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