Next Generation Emulation banner

1 - 11 of 11 Posts

·
el dox0r
Joined
·
29 Posts
Discussion Starter #1 (Edited)
Guys I've made a quick fix for the Left Trigger and Right Trigger Z axis issue on official Xbox 360 Controllers (wired and wireless).

edit:
You should only use this fix if you prefer to use non plugin based emulators such as Xebra, PSX Emulator or NoCash PSX or EPSXE. If you use other plugin based emulators with official Xbox 360 controller then you should use Pokopom pad plugin.
end edit.

What Problem?
The trigger button are on the Z axis as reported by the official Xbox 360 driver.

The default Z axis is 50% (no triggers pressed), when when one trigger is pressed the Z axis will increase, when the other trigger is pressed the Z axis will decrease and bring everything back to 50% if pressed at the same time.

In games that require you to press both triggers at the same time this will be a problem since the emulator would see the axis as 50%, the same as no button pressed.

A practical example of this issue is Final Fantasy 8 - you need to run away near the beginning of the game and you cant if you mapped L2 and R2 to LT and RT.

The Fix
I used Autohotkey to compile an automated script that Maps LT and RT to keys N and M on the keyboard. In addition I also used the Xinput API to determine the state of each input so no more Z axis issue.

Download the exe (in zip) attached to this post.

(1) Run LT-RT.exe.
(2) This will open a process which will minimise into Windows Task Bar.
(3) Go to controller config in your emulator.
(4) Assign L2 and R2 to LT and RT button press on your Xbox 360 Controller.
(5) This will map L2 and R2 to keyboards button N and M.
(6) When both triggers are pressed they will both be recognised as button presses.

Until an emulator makes use of the Xinput API for their controller config this is the best we have until then.
 

·
Premium Member
Joined
·
2,299 Posts
Alternatively, you can use an open 360 pad driver and change the trigger behavior.
 

·
el dox0r
Joined
·
29 Posts
Discussion Starter #3
True but Xbcd does not work on wireless controllers. Also I prefer to keep using official drivers for native xinput game support with the latest games. This is just a quick simple fix / work around without having to resort to third party drivers which can be unstable. Although admit official drivers are lacking in the features apartment :(
 

·
Premium Member
Joined
·
5,155 Posts
Great work but it's not necessary. Pokopom pad plugin fixes all known issues with Xinput gamepads.
 

·
el dox0r
Joined
·
29 Posts
Discussion Starter #5
I made this mainly for myself to use in Xebra, which as you know is non-plugin based.
 

·
Premium Member
Joined
·
5,155 Posts
Oh, OK then.
I was thrown off since you never mentioned Xebra and you haven't posted in the Xebra section.
 

·
el dox0r
Joined
·
29 Posts
Discussion Starter #7
I would of stuck this in Xebra sub forum but if people prefer to use PSX emulator and noCash PSX then they havent got the luxury of Pokopom pad plugin.

Also I didnt know of such plugins. Thanks for the heads up. I will have check that out. But ultimately I prefer Xebra.
 

·
Registered
Joined
·
1 Posts
Guys I've made a quick fix for the Left Trigger and Right Trigger Z axis issue on official Xbox 360 Controllers (wired and wireless).

edit:
You should only use this fix if you prefer to use non plugin based emulators such as Xebra, PSX Emulator or NoCash PSX or EPSXE. If you use other plugin based emulators with official Xbox 360 controller then you should use Pokopom pad plugin.
end edit.

What Problem?
The trigger button are on the Z axis as reported by the official Xbox 360 driver.

The default Z axis is 50% (no triggers pressed), when when one trigger is pressed the Z axis will increase, when the other trigger is pressed the Z axis will decrease and bring everything back to 50% if pressed at the same time.

In games that require you to press both triggers at the same time this will be a problem since the emulator would see the axis as 50%, the same as no button pressed.

A practical example of this issue is Final Fantasy 8 - you need to run away near the beginning of the game and you cant if you mapped L2 and R2 to LT and RT.

The Fix
I used Autohotkey to compile an automated script that Maps LT and RT to keys N and M on the keyboard. In addition I also used the Xinput API to determine the state of each input so no more Z axis issue.

Download the exe (in zip) attached to this post.

(1) Run LT-RT.exe.
(2) This will open a process which will minimise into Windows Task Bar.
(3) Go to controller config in your emulator.
(4) Assign L2 and R2 to LT and RT button press on your Xbox 360 Controller.
(5) This will map L2 and R2 to keyboards button N and M.
(6) When both triggers are pressed they will both be recognised as button presses.

Until an emulator makes use of the Xinput API for their controller config this is the best we have until then.

i do not see the attachment anywhere and would really like it.
:)
 

·
Registered
Joined
·
1 Posts
Guys I've made a quick fix for the Left Trigger and Right Trigger Z axis issue on official Xbox 360 Controllers (wired and wireless).

edit:
You should only use this fix if you prefer to use non plugin based emulators such as Xebra, PSX Emulator or NoCash PSX or EPSXE. If you use other plugin based emulators with official Xbox 360 controller then you should use Pokopom pad plugin.
end edit.

What Problem?
The trigger button are on the Z axis as reported by the official Xbox 360 driver.

The default Z axis is 50% (no triggers pressed), when when one trigger is pressed the Z axis will increase, when the other trigger is pressed the Z axis will decrease and bring everything back to 50% if pressed at the same time.

In games that require you to press both triggers at the same time this will be a problem since the emulator would see the axis as 50%, the same as no button pressed.

A practical example of this issue is Final Fantasy 8 - you need to run away near the beginning of the game and you cant if you mapped L2 and R2 to LT and RT.

The Fix
I used Autohotkey to compile an automated script that Maps LT and RT to keys N and M on the keyboard. In addition I also used the Xinput API to determine the state of each input so no more Z axis issue.

Download the exe (in zip) attached to this post.

(1) Run LT-RT.exe.
(2) This will open a process which will minimise into Windows Task Bar.
(3) Go to controller config in your emulator.
(4) Assign L2 and R2 to LT and RT button press on your Xbox 360 Controller.
(5) This will map L2 and R2 to keyboards button N and M.
(6) When both triggers are pressed they will both be recognised as button presses.

Until an emulator makes use of the Xinput API for their controller config this is the best we have until then.
TK´S! NOW I CAN PLAY DRIVER!
 
1 - 11 of 11 Posts
Top