Hi,
I'm writing an input mapping library and I'm currently working to support OIS as one of the backends.
I've got two questions/feature suggestions:
1. The callback function for gamepad button events takes two arguments a JoyStickEvent and the button index.
Is there some information in the JoyStickEvent that I can use determine which gamepad the event originated from? I thought device->getID would be the one, but it only returns -1. Or do I have to use different callback functions for each gamepad?
2. Is it possible to change input grab mode without having to destroy the input manager?
I see that some classes, for example LinuxMouse, seems to have methods that supports this. But could it be done system wide in a platform independent fashion? Maybe exposed as methods in the input manager?
Regards
Nimos