Steering wheels gph

GPC2 script programming for Titan Two. Code examples, questions, requests.

Steering wheels gph

Postby Prototype » Tue Sep 18, 2018 10:55 am

Can i edit the header file for the wheel i'm using? I tried to change the layout because my wheel don't have the PS button, and other changes because the shifter on the DFPRO is sequential unlike the G29 shifter, but it didn't worked so maybe i must use a remapper?
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3250
Joined: Sun Dec 16, 2012 1:43 pm

Re: Steering wheels gph

Postby J2Kbr » Wed Sep 19, 2018 10:31 am

The header file does not changes the mappings, for that you need use an Input Translator or script.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Steering wheels gph

Postby Prototype » Wed Sep 19, 2018 10:53 am

Ok i see :a1chill_angry1: thanks
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3250
Joined: Sun Dec 16, 2012 1:43 pm

Re: Steering wheels gph

Postby Prototype » Thu Sep 20, 2018 2:12 pm

The issue i have is the shifter is detected as G29 manual but the DFPRO is sequential, the UP is the WHEEL_1ST and the DOWN is the WHEEL_2ND. That's why i was trying to edit the header file.
Code: Select all
#define WHEEL_1ST       ACCEL_2_X
#define WHEEL_2ND       ACCEL_2_Y
#define WHEEL_SHFUP     ACCEL_2_X
#define WHEEL_SHFDOWN   ACCEL_2_Y
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3250
Joined: Sun Dec 16, 2012 1:43 pm

Re: Steering wheels gph

Postby J2Kbr » Fri Sep 21, 2018 9:45 am

Your findings is correct, there is no needed to change the header file. What you may need to do is a GPC script to redirect WHEEL_SHFUP and WHEEL_SHFDOWN to WHEEL_UP and WHEEL_DOWN respectively. ;)
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 84 guests