[Wine] Re: Gamepad activates both characters in a game

Loadus wineforum-user at winehq.org
Sun Oct 25 05:09:15 CDT 2009


vitamin wrote:
> 
> Loadus wrote:
> > I ran into an interesting problem. With a Logitech Dual Action gamepad in LEGO Star Wars The Complete Saga, doing anything other than moving around (jump, tag, action) with player 1 activates player 2.
> 
> Is it assigning separate joystick to each character?
> 
> Wine will see each joystick as 2 separate joysticks because it has 2 different joystick drivers. The easiest way to deal with this is "disable" one of the drivers by removing/making unaccessible it's device - /dev/js* or /dev/input/js* for joydev driver or /dev/input/event? (only one for the joystick) for evdev driver.


The separate joysticks have the same name, but the game treats them as separate. I can assign keyboard for player 2, then "drop out" and the same thing happens - press a button on player 1 gamepad and player 2 wakes up. : /







More information about the wine-users mailing list