12/22/2010 3:06 PM
post80070
|
I am trying to use the devi drivers in raw mode "-r". I can get events from the device but I would like to determine
which type of device I am dealing with when I get a path. I have tried using the _INTERACTTYPE devctl on a device such
as "/dev/devi/mouse0" or "/dev/devi/keyboard0". However the type field always comes back as 0. So how should one
determine whether a devi entry is a mouse/keyboard/touchscreen in order to properly read from the device and parse the
packets.
This is using 6.4.1.
Thanks,
Brian
|
|
|