Want autodetect normal mouse not touchpad

I was wondering how I can differentiate between a touchpad and a normal mouse. Both getTypes() are Type.MOUSE. Currently I select from a combobox of all detected mice to get what I want. How can I get jinput to ingore my touchpad to detect(or give preference to) normal mice? Also, anybody know if something like jinput will eventually make it into java?

Monty

Hi

JInput takes a best guess at the type of device based on it’s components and it’s name. The simple answer is that you can’t tell other than from it’s name. You’re best bet is to do some filtering in a layer above JInput.

HTH

Endolf