(To test, configure with --with-xinput2 and make sure the XInput 2 development files are present on your computer.)