[Y-devel] Widget set progress

Thorsten Wilms t_w_ at freenet.de
Fri Apr 16 21:21:02 BST 2004


On Sat, Apr 17, 2004 at 10:00:46AM -0400, Thomas wrote:
> On Friday 16 April 2004 01:23, Thorsten Wilms wrote:
 
> > 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.
> >
>
> Not true at all.  In addition to pressure, newer tablets will also provide
> information such as the "tilt" of the pen (ie, the angle between the pen and
> the tablet, in the x and y dimensions).  the pen on my intuos has 6 axes.
 
Oops, I'm sorry. Good that there are people on this list that know what
they're talking about :-)
 
> plus, different parts of the pen correspond to different devices.  for
> example, there is a "pen" part and an "eraser" part, so i could select one
> tool in the gimp with the pen part, and select another tool with the eraser
> part, when i flip the pen around to use the eraser, the gimp automatically
> switches to the eraser's tool.
 
> Linux is making a lot of progress in the computer graphics field, and ruling
> out anything that is too far from a mouse would certainly hinder Y's adoption
> when the time comes.
 
Year, that was part of what I was talking about.
 
 
Anybody around here who can give some input about 3d controlers?
 
 
Trying to generalize:
Pointing devices can have:
- n (at least 1) buttons (up/down)
- pressure for some or all buttons (the tip of a pen would have to be considered
  a button)
- options, like with the pen that can be turned around. Not restricted to 2 states.
  There might be a need for an OptionChanged Event, if something needs to watch an
  option.
- 2 main axes, but any number additional axes (a controler could come with an extra
  trackball or joystick or whatever, so I don't see an upper limit)
 
Tabletts can come with several pens, each one tied to a certain tool (or tools
for using both ends) -> (Pointing) Device IDs
 
Then there's velocity, not only for the main axes.
Basicaly ther should be a mapping system for every input all attached devices
provide. And a minimal set of things to map 2 (basic mouse usage), as well
additinal sets for common 2d, 3d and audio setups. 'Things to map to' leading
to what kind of events should be send to apps/widgets.
 
Would it help to think of pressure as axis, with 0 meaning button not pressed at
all?
 
It should be possible to do things like attaching 2 mice to the pc. Use one
as pointing device, use the other to control some values (many possibilites
in multimedia use).
 
Maybe the same system could be used to deal with stuff like midi-controlers/
fader boxes (being no pointing devices, but having buttons and channels(=axes)).
 
 
---
Thorsten Wilms




More information about the Y-devel mailing list









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