On 21 December 2010 12:33, Timo Juhani Lindfors <[email protected]> wrote:
> Neil Jerram <[email protected]> writes:
>> Surely the optimal solution would be runtime auto-detection? Does
>> udev provide sufficient information to infer that there is a
>> touchscreen and no keyboard?
>
> udev does not know what X server your sgt-puzzles is connected
> to. It's probably better to ask X about the input devices?
Ah yes, of course, good point. So assuming the X API is rich enough
to provide that information, I'd say that's the ideal solution. Of
course it would also be possible to provide a command line option to
override the auto-detection.
Neil
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community