Finish using JInput (Thanks @mbabker)