Couple of pads not detected
Hello,
First, to the developer/maintainer : thanks for your work, this library is a great idea, and will be super helpful to many, I am sure. It will be very helpful to me at least, as an amateur game developer ;)
SO, here is my issue.
I built gainput, on windows, VS 2017 using cmake. All compiles fine.
Testing the listenersample from VS I was able to see inputs from my keyboard and my Xbox 360 gamepad.
But I have :
- a generic gamepad
- a Saitek X52 joystick
which both don't seem to be detected by the sample : I don't see any input from those two in the output.
All three game game pads (x360 pad, generic gamepad and X52) appear in dxdiag.exe input panel, as well as in the "Game Controllers" window. (I am not sure if that is a proof of XInput support of those devices ?)
In SampleMain I added a couple lines to create more pad devices, to make sure I don't only have the x360 :
gainput::InputManager manager;
manager.CreateDevice<gainput::InputDeviceKeyboard>(gainput::InputDevice::DV_RAW);
const gainput::DeviceId keyboardId = manager.CreateDevice<gainput::InputDeviceKeyboard>();
manager.CreateDevice<gainput::InputDeviceMouse>(gainput::InputDevice::DV_RAW);
const gainput::DeviceId mouseId = manager.CreateDevice<gainput::InputDeviceMouse>();
manager.CreateDevice<gainput::InputDevicePad>();
manager.CreateDevice<gainput::InputDevicePad>();
manager.CreateDevice<gainput::InputDevicePad>();
manager.CreateDevice<gainput::InputDevicePad>();
manager.CreateDevice<gainput::InputDevicePad>();
manager.CreateDevice<gainput::InputDeviceTouch>();
Is there something more I can try to do to investigate ? Am I missing something ?
I'm investigating a similar issue, I have some generic (original-nintendo-like) controllers, the directional pads are recognized in the listener example but the buttons are not.
The evtest utility shows me that the controller is working and sending messages.