How to make joystick completely worked
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
How to make joystick completely worked
Hi all! I have a gamepad named Logitech Dual Action
It worked perfect in Ubuntu9.04. And worked in wine FIFA soccer game.
But it has a little problem that I can't use reghit analog in the game.
It means i can't make some special move in game.
I follew the instruction:
+-DirectInput
| |
| +->MouseWarpOverride
| | [Override default mouse pointer warping behavior:
| | enable: (default) warp pointer when mouse exclusively acquired
| | disable: never warp the mouse pointer
| | force: always warp the pointer]
| |
| +->*<joystick name> = <axes mapping>
| [Linux only (js* devices). This maps axes of joystick "joystick name". The "axes mapping" is
| comma-separated list of "axis type"s - one for each joystick axis (hat-pov uses 2 axes).
| "axis type" is one of: X, Y, Z, Rx, Ry, Rz, Slider1, Slider2, POV1, POV2, POV3, POV4.
| To find the joystick name run
| 'WINEDEBUG=+dinput wine program.exe 2>&1 | grep joydev_enum_device'
| Example: "Logitech Logitech Dual Action"="X,Y,Rz,Slider1,POV1". (two "Logitech"s not a typo)]
maybe i misunderstood that
I created a subfolder named DirectInput under
[HKEY_CURRENT_USER]\Software\Wine\
And then i created a string value named Logitech Logitech Dual Action
and the value is X,Y,Rz,Slider1,POV1
after that i still can't use right analog in game, am i wrong?
It worked perfect in Ubuntu9.04. And worked in wine FIFA soccer game.
But it has a little problem that I can't use reghit analog in the game.
It means i can't make some special move in game.
I follew the instruction:
+-DirectInput
| |
| +->MouseWarpOverride
| | [Override default mouse pointer warping behavior:
| | enable: (default) warp pointer when mouse exclusively acquired
| | disable: never warp the mouse pointer
| | force: always warp the pointer]
| |
| +->*<joystick name> = <axes mapping>
| [Linux only (js* devices). This maps axes of joystick "joystick name". The "axes mapping" is
| comma-separated list of "axis type"s - one for each joystick axis (hat-pov uses 2 axes).
| "axis type" is one of: X, Y, Z, Rx, Ry, Rz, Slider1, Slider2, POV1, POV2, POV3, POV4.
| To find the joystick name run
| 'WINEDEBUG=+dinput wine program.exe 2>&1 | grep joydev_enum_device'
| Example: "Logitech Logitech Dual Action"="X,Y,Rz,Slider1,POV1". (two "Logitech"s not a typo)]
maybe i misunderstood that
I created a subfolder named DirectInput under
[HKEY_CURRENT_USER]\Software\Wine\
And then i created a string value named Logitech Logitech Dual Action
and the value is X,Y,Rz,Slider1,POV1
after that i still can't use right analog in game, am i wrong?
Re: How to make joystick completely worked
First only one driver supports axes remapping. Two - the mapping might not be what the game wants.uranus0206 wrote:and the value is X,Y,Rz,Slider1,POV1
after that i still can't use right analog in game, am i wrong?
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
well, i have do some test.
i use joystick test software like xpadder, and i got the right analog stick info
thus i changed the axismapping value to "X,Y,Z,Rz,POV1"
and then i use joytester, another windows software, then the result worked!!!
but i still can't play game with my right analog stick......is the problem of the
FIFA game?
i use joystick test software like xpadder, and i got the right analog stick info
thus i changed the axismapping value to "X,Y,Z,Rz,POV1"
and then i use joytester, another windows software, then the result worked!!!
but i still can't play game with my right analog stick......is the problem of the
FIFA game?
Probably it is in the way it expect things to be. I used to have the exact same problem with FIFA08. And in FIFA09 the joystick was blown, so I use the mouse.uranus0206 wrote:well, i have do some test.
i use joystick test software like xpadder, and i got the right analog stick info
thus i changed the axismapping value to "X,Y,Z,Rz,POV1"
and then i use joytester, another windows software, then the result worked!!!
but i still can't play game with my right analog stick......is the problem of the
FIFA game?
But you said that you got it to detect the axis in a windows app via wine? And did it detect the exact same axis as if it was being run on windows?
Jorl17
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
And here is i test in windows Xp via virtualbox:uranus0206 wrote:yeah! Here is a screenshot of Xpadder via wine.
You can see my axis all detected... "Axis Z" and "Axis Rz" stands right
stick's horizontal and vertical direction

the results are the same,but i still can't play with that in my game...pitty

-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
Maybe this will solve your problem:
http://ubuntuforums.org/showthread.php?t=761044
http://ubuntuforums.org/showthread.php?t=761044
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
i have install jscalibrator in the ubuntu repository, and it worked well.landeel wrote:Maybe this will solve your problem:
http://ubuntuforums.org/showthread.php?t=761044
shou i install this?
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
I read the instruction, and i compiled the patch.landeel wrote:Maybe this will solve your problem:
http://ubuntuforums.org/showthread.php?t=761044
I run ./jscal -q /dev/input/js0 then it showed: jscal -u 6,0,1,2,5,16,17,12,288,289,290,291,292,293,294,295,296,297,298,299 /dev/input/js0
It means i have 6 axis which are
"0" means X at x direction of left analog stick
"1" means Y at y direction of left analog stick
"2" means Z at x direction of right analog stick
"5" means Rz at y direction of right analog stick
I've tested and it work well, and i don't have to remapping the axis.
But i still cannot use right analog stick in game
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
I chose one that analog stick can work in menu, but i can't play game with right analog stick.vitamin wrote:That's correct, Wine has 2 joystick drivers. You'll have to select in your game which one to use.uranus0206 wrote:my joystick in the game will be regard as two joysticks.
maybe that's the whole problem, but i don't know how to fix.
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
-
- Level 2
- Posts: 14
- Joined: Mon Jun 15, 2009 7:41 am
[Problem Sloved]
OK! Now i finally find where the problem is! And it's simple to solve!
I find the fifa game will regard my "Logitech Dual Action" joystick as the
"Default" joystick.
That's why i can't use right analog stick even i change mapping in regedit
Now the solution is just modify some contents in the installed game folder
called (FIFA08 for example in the windows browser view):
C:\Program Files\EA Sports\FIFA 08\deta\input\devdata.dat
just edit this file with editor such as gedit, notepad(wine)...
and search "Logitech Dual Action" in the content, like this

and then copy all the mapping values below this subject.
Then search "Default", and paste what you copy to replace all the content
but remain the title of gampad name.

and then copy this file to ~/FIFA 08/user/
now i can play with whole function in game!
PS:maybe it will work with others non Logitech gamepad...
I find the fifa game will regard my "Logitech Dual Action" joystick as the
"Default" joystick.
That's why i can't use right analog stick even i change mapping in regedit
Now the solution is just modify some contents in the installed game folder
called (FIFA08 for example in the windows browser view):
C:\Program Files\EA Sports\FIFA 08\deta\input\devdata.dat
just edit this file with editor such as gedit, notepad(wine)...
and search "Logitech Dual Action" in the content, like this

and then copy all the mapping values below this subject.
Then search "Default", and paste what you copy to replace all the content
but remain the title of gampad name.

and then copy this file to ~/FIFA 08/user/
now i can play with whole function in game!
PS:maybe it will work with others non Logitech gamepad...