I'm using a ps3 gamepad to play windows games using wine, and in almost every game tried (devil may cry 4, grid wars, trackmania nations forever), wine does some ridiculous thing with constantly making everything go left. (I imagine it's an issue with the left thumbstick mapping. I have tried with multiple PS3 controllers and can confirm it's not a hardware issue).
Anyway, the going left thing is really awful and makes games that require a gamepad almost unplayable. If I could fix the constantly going left thing I would be the happiest of campers, but I've resigned myself to just mapping keyboard inputs using QJoyPad and hoping for the best in games where analog support is required.
However, it seems that in some games (Trackmania Nations Forever) mapping keyboard input results in both wine using the controller to constantly go left and also to register the keyboard inputs that I've mapped the gamepad to. So Trackmania will know for example that square means brake an right trigger means accelerate because I've mapped them to the down and up arrows respectively, but the car will still go left because WINE is all like "hey a controller! let's make everything go left!"
Is there any way to hide the gamepad from WINE entirely so that I can just use the keyboard inputs and not have wine worry about the gamepad?
Disabling a gamepad
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Disabling a gamepad
On 6/5/11 4:21 PM, rufsketch1 wrote:
can.
The next thing is to capture a logging file where the input is incorrect
and attach it to a bug report that you should either find or file in our
BugZilla.
Yes, there is a simple way to do this: Disconnect the controller if youI'm using a ps3 gamepad to play windows games using wine, and in almost every game tried (devil may cry 4, grid wars, trackmania nations forever), wine does some ridiculous thing with constantly making everything go left. (I imagine it's an issue with the left thumbstick mapping. I have tried with multiple PS3 controllers and can confirm it's not a hardware issue).
can.
The next thing is to capture a logging file where the input is incorrect
and attach it to a bug report that you should either find or file in our
BugZilla.
-
- Newbie
- Posts: 3
- Joined: Sun Jun 05, 2011 6:11 pm
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Disabling a gamepad
On 6/5/11 4:42 PM, rufsketch1 wrote:
http://wiki.winehq.org/FAQ#get_log.
It is still advisable, even if you cannot capture a logging file to
review existing reports on BugZilla. Some of them have workarounds and
unofficial patches to help correct problems.
Do you need to use the controller for the program to run?Disconnecting the controller will not allow me to use the controller.
The Wine FAQ has a section on how to capture logging files:I don't know enough about logging to make any use of your instructions.
http://wiki.winehq.org/FAQ#get_log.
It is still advisable, even if you cannot capture a logging file to
review existing reports on BugZilla. Some of them have workarounds and
unofficial patches to help correct problems.
-
- Newbie
- Posts: 3
- Joined: Sun Jun 05, 2011 6:11 pm
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
You are confusing me. Let me see if I can unconfuse myself:rufsketch1 wrote:I need the controller in order to play with a controller. The game isn't worth playing without one.
1. You want to use the controller to run the game, all keys functional.
2. You want the 'move to the left' stuff to stop.
No. And I don't think this is what you want. See my comment above.There's really no way to get wine to just ignore its existence?
Logs are good. However, I would like for you to answer my questions first.I'll see what I can do about the logs.
- SpawnHappyJake
- Level 5
- Posts: 272
- Joined: Sun Feb 06, 2011 5:57 am
A Mother's Ball for the Fog Lamp
Maybe this will clear it up a little:
Apply this quote:
To acquire such a log, you don't have to actually "play" the game, as in "to go play the game for fun." You just have to run the game and have it output a log whether it's fun or not. I know that the game isn't fun without a controller, but you can still run the game without a controller to get a debug output...
Unless the game straight-up refuses to run unless a controller is present, which comes back to his question:
And then there's this:
Also, I think James McKenzie could breathe a little easier if you confirmed these two things:
Personally, I don't quite know exactly how to bring the following two quotes of yours together without them seeming contradictory, though I have a few guesses. Guess 1: You would rather play with a gamepad, held yourself back at the beginning, and were initially willing to play on a keyboard, but now have decided that it is only worth playing with a gamepad. Guess 2: At first you were speaking from a debugging perspective, and more recently you were speaking from a gaming perspective where you are willing to debug with a keyboard, but not play with a keyboard. Guess 3: By "controller" you include "keyboard":
And two more questions of mine: Do you think it's possible that the "left pull" is the result of the operating system's (not WINE, the operating system) driver or more than one such driver? WINE doesn't have specially implemented drivers for gamepads and/or keyboards, does it?
Hopefully I reduced confusion rather than contributing confusion.
Cheers,
Jake
Apply this quote:
To this quote:Yes, there is a simple way to do this: Disconnect the controller if you can.
Also, understand that the current intermediate goal (after answering James McKenzie's questions) to accomplishing the big goal of getting rid of the "left pull", is to acquire a debugging output (log).Is there any way to hide the gamepad from WINE entirely so that I can just use the keyboard inputs and not have wine worry about the gamepad?
To acquire such a log, you don't have to actually "play" the game, as in "to go play the game for fun." You just have to run the game and have it output a log whether it's fun or not. I know that the game isn't fun without a controller, but you can still run the game without a controller to get a debug output...
Unless the game straight-up refuses to run unless a controller is present, which comes back to his question:
Do you need to use the controller for the program to run?
And then there's this:
So probably one debug log with the controller attached, and one without. Unmap if nessisary.The next thing is to capture a logging file where the input is incorrect
and attach it to a bug report that you should either find or file in our Bugzilla.
Also, I think James McKenzie could breathe a little easier if you confirmed these two things:
1. You want to use the controller to run the game, all keys functional.
2. You want the 'move to the left' stuff to stop.
Personally, I don't quite know exactly how to bring the following two quotes of yours together without them seeming contradictory, though I have a few guesses. Guess 1: You would rather play with a gamepad, held yourself back at the beginning, and were initially willing to play on a keyboard, but now have decided that it is only worth playing with a gamepad. Guess 2: At first you were speaking from a debugging perspective, and more recently you were speaking from a gaming perspective where you are willing to debug with a keyboard, but not play with a keyboard. Guess 3: By "controller" you include "keyboard":
Is there any way to hide the gamepad from WINE entirely so that I can just use the keyboard inputs and not have wine worry about the gamepad?
I need the controller in order to play with a controller. The game isn't worth playing without one.
And two more questions of mine: Do you think it's possible that the "left pull" is the result of the operating system's (not WINE, the operating system) driver or more than one such driver? WINE doesn't have specially implemented drivers for gamepads and/or keyboards, does it?
Hopefully I reduced confusion rather than contributing confusion.
Cheers,
Jake