Just a warning for user with Logitech mice running SetPoint. I recently got a ICQ comment from a user of JInput saying that buttons 6,7 and 8 did not work. I've managed to borrow an 8 button Logitech mouse and after a few hours of hunting have discovered that Logitech mice won't play nice.
You have to fiddle with set point
to get buttons 4 and 5 working, and the options don't exist for buttons 6, 7 and 8, and there is no mention on their website. So to use them, I guess they have to be mapped to key input, just like you would for any direct x game.
Sorry guys, bug Logitech if you want it changing