On Wed, 27 Jun 2001, Stefan Seefeld wrote:
> Is there any way to make GII report these things ?

Improve input-linux-evdev.  What it does is just plain wrong IMO; it should
return a devinfo for each device present.

> than that, for example version and vendor strings. Also, the devinfo
> uses a static array, which can quickly overflow for long names.

> I guess a more flexible scheme would be a dictionary of name/value pairs,
> both dynamically allocated strings. Is there any way to add that to GII ?

Hmm... both very good points.  Not sure if I like the idea of 
yet another table of values -- my inclination would be to enable
the use of any sized string somehow, and return a standard format 
string from which hw version/vendor can be parsed easily -- that 
way programs that do not care about version/vendor can just print 
it and the full info is printed out.

> Or, would you mind me adding that ? If so, where ?

The more I look at LibGII the more I think that any work on it whatsoever
would be greatly appreciated :-)  The code there is surely not living 
up to the API's potential.

--
Brian

Reply via email to