You are not logged in.
Pages: 1
Hello
I am having issues using my Xbox 360 Controller to play Skyrim over Wine.
Wine is latest version in the official repos (1.7.0-1) and xboxdrv is downloaded from AUR. I have blacklisted the xpad kernel module and run the commands modprobe uinput and modprobe joydev as suggested for single controllers on the xboxdrv manual page, I also ensured I removed the xf86-input-joystick package as prior to doing so my mouse cursor went wild as soon as I plugged in my controller.
I have set up a custom config for xboxdrv with Skyrim which I have detailed below. The problem occurs when I move the right thumbstick, outside of the game (ie. when the launcher displays but before I click play) it manipulates the mouse normally however when I'm in the game, from the main menu onwards, it behaves incorrectly. When I move the right stick left it initially moves left, however when I then move the right stick right it will continue to move left before seeming to equalise and moving rapidly right. The same occurs along the vertical axis.
I have posted my xboxdrv config file below in case I've made any obvious mistake in configuring it. I'd be very grateful for any suggestions and will post the output of any diagnostic commands which can be suggested.
Regards
Donald
[xboxdrv]
silent=true
deadzone=6000
dpad-as-button=true
trigger-as-button=true
[ui-axismap]
x2^sen:-0.5^cal:-500:0:500=REL_X:5
y2^sen:-0.5^cal:-500:0:500=REL_Y:5
x1=KEY_A:KEY_D
y1=KEY_W:KEY_S
[ui-buttonmap]
a=XK_e
b=XK_Tab
x=XK_r
y=XK_space
[ui-buttonmap]
lb=XK_Alt_L
rb=XK_z
[ui-buttonmap]
lt=BTN_LEFT
rt=BTN_RIGHT
[ui-buttonmap]
dl=XK_q
dr=XK_p
du=XK_1
dd=XK_2
[ui-buttonmap]
back=XK_t
start=XK_j
# EOF #Last edited by darArch (2013-08-05 19:01:10)
Offline
As an extra bit of information, when I run 'wine control' and open the game controllers section of the control panel I don't have any devices listed.
Should I ask about this over at winehq?
Offline
What I suspect is happening here is an error with relative positioning, ie. when I move the right thumbstick left it's setting the cursor to an extremely low value, say -100,000 and therefore when I move it right because the minimum value is supposed to be -32768 it has to surpass that value before actually visibly moving right.
Does anybody know how I could track the actual x,y co-ordinates of the cursor to establish if this is happening?
Edit: enabled log statements in xboxdrv config. My theory has proved incorrect. I'm stumped.
Last edited by darArch (2013-08-05 18:51:20)
Offline
Finally (feel quite stupid) tried playing without a controller. It turns out it isn't a controller issue. It must be some sort of input issue to do with the cursor as I have exactly the same problem using the touchpad built into my laptop.
Edited thread title to reflect this.
Last edited by darArch (2013-08-05 19:01:21)
Offline
Pages: 1