Re: RFC: A generic pointer protocol

Alexandre Maret (amaret@infomaniak.ch)
Fri, 15 Nov 1996 21:30:31 +0100


hello

I followed the discussion about this "generic" protocol.
It seems there is a lot of talk about non-generic choices
(cf. pressure). Does the packet need to have a fixed length ?
I don't think so. We could have a config struct that can
describe a pointing device capabilities. For example,
a pressurized-pen tablet (!) :

The config :
name,min value,max value

{
{"x",0,6000},
{"y",0,4000},
{"pressure",0,15}
}

When the application (which has to be enhanced a bit) start
up, it just look if there is a "pressure" field in the config.
If yes, then the *application* will know that the 3rd field is
the pressure field, and the the value can be between 0 and 15.

"x" and "y" are nearly always present

Please comment

alex

-- 
\\-----------------------------------------------------------\\
// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ amaret@infomaniak.ch -- http://www.infomaniak.ch/~amaret  \\
//-----------------------------------------------------------//