Hello,
I've run into a problem with mouse detection, where the three button 'mouse' on my laptop (thinkpad r51) is identified as having only two buttons. It might be a hardware specific bug, external USB mice are identified properly when I plug those in.
Specifically I'm using a package called xith3d that includes lwjgl, the dev there traced the bug to the lwjgl. You can read the thread
over there. Sorry I don't have more for you to go on for this one. Thanks for any help.