From: M G. <aur...@gm...> - 2011-02-09 00:54:56
|
Rehi, this is not a bug, this is a feature ;) currently, all identical gamepads use the same configuration. the idea is to free the player from having to configure e.g. 4 gamepads 4 times; or that if you plug your two gamepads in a different order you just switched the config around, etc. Some I'm not sure I like your solution :( -- Auria > I made a mistake in trying to fix the problem. > > If we connect a second Gamepad of the same type (and the > same name), >> DeviceManager::getConfigForGamepad(const int irr_id, > GamepadConfig **config) > checks whether a gamepad-config with this name already > exists, which is true... > > To solve the problem, I suggest to rename the second > gamepad by appending an integer to the name string before > the call of getConfigForGamepad. > See the attachment to this mail for my proposition. > |