Steam Controller

Titan Two general support. Questions, firmware update, feature request.

Steam Controller

Postby Polsy37 » Fri Mar 20, 2020 10:48 pm

Hey guys. I've messed around a bit with this over the last few months, have not gone too deep. Read a bunch of the forums but what I want to do is a bit of uncharted territory. What with us all locked at home, I want to try and get this working and available for all.

IMO the Steam Controller is highly underrated. I used it to play up to a gold level on Siege on PC against M&K. I've switched to console and want to continue to use it. I've been using a SCUF with the Titan Two, but I want my SC and GYRO back. I really don't want to play M&K while laying on the couch. SC gives me the best of both worlds.

I have not found much for guides around these forums.

I've been able to use the SC with the PS4. Everything works as intended. What I want is to incorporate the Gyro controls with touch activation. On PC I set Gyro to activate with ADS and fine tuned it to have pixel control. Getting the gyro to accomplish anything through the Titan two has been tough, let alone fine tuning it to the point of it being a strength.

One thought I think may be a place to start would be to extract my SC settings from steam files and somehow translate them to Gtuner. TBH not sure where they are of if they would even help.

Then I need to fine tune the touch controls to a point that makes is comfortable.

Once I have that I would like to incorporate rapid fire and anti recoil.

Big ask I know. I'm willing to put in the work. I need help though. If anyone can guide me to get me started, please do.

Thanks all, and take care during this insanity (real, created, or perceived - doesn't matter)
User avatar
Polsy37
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Fri Mar 20, 2020 10:39 pm

Re: Steam Controller

Postby J2Kbr » Sat Mar 21, 2020 12:55 pm

Welcome to our forums. Following is a GPC script to use the controller's motion sensors to aim while ADSing. this code works with all controllers with motion sensor, such as PS3, PS4, Switch Pro, including SC.
Code: Select all
#pragma METAINFO("Motion Aiming", 1, 0, "J2Kbr")
 
#define SENSITIVITY_X   5.0
#define SENSITIVITY_Y   5.0
 
#define DEADZONE_X      20.0
#define DEADZONE_Y      20.0
#define DEADZONE_D      1.0
 
main {
    if(get_val(BUTTON_8)) {
        static fix32 offset_x;
        static fix32 offset_y;
        if(event_active(BUTTON_8)) {
            offset_x = get_val(ACCEL_1_X);
            offset_y = get_val(ACCEL_1_Y);
        }
        if(abs(get_val(STICK_1_X)) <= DEADZONE_X && abs(get_val(STICK_1_Y)) <= DEADZONE_Y) {
            motion_aiming(offset_x, offset_y);
        }
    }
}
 
void motion_aiming(fix32 offset_x, fix32 offset_y) {
    static fix32 accel_x, accel_y;
    static fix32 stick_x, stick_y;
    if(accel_x != get_actual(ACCEL_1_X) || accel_y != get_actual(ACCEL_1_Y)) {
        accel_x = get_actual(ACCEL_1_X);
        accel_y = get_actual(ACCEL_1_Y);
        stick_x = (accel_x - offset_x) * SENSITIVITY_X;
        stick_y = (accel_y - offset_y) * SENSITIVITY_Y;
 
        fix32 signal_x = (stick_x < 0.0) ? (stick_x = inv(stick_x), -1.0) : (stick_x > 0.0) ? 1.0 : 0.0;
        fix32 signal_y = (stick_y < 0.0) ? (stick_y = inv(stick_y), -1.0) : (stick_y > 0.0) ? 1.0 : 0.0;
        fix32 angle = atan2(stick_y, stick_x);
 
        stick_x = clamp(((DEADZONE_X * pow(cos(angle), DEADZONE_D)) + stick_x) * signal_x, -100.0, 100.0);
        stick_y = clamp(((DEADZONE_Y * pow(sin(angle), DEADZONE_D)) + stick_y) * signal_y, -100.0, 100.0);
    }
    set_val(STICK_1_X, stick_x);
    set_val(STICK_1_Y, stick_y);
    return;
}
 
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: Steam Controller

Postby Polsy37 » Sat Mar 21, 2020 5:21 pm

That's awesome. Thanks. I'll work on it today.

My next questions: how do I incorporate it with the Siege gamepack I'm currently using?
Also, my preference for horizontal movement is to tilt the l/r sides of the controller down, rather than like a steering wheel, how can I switch that?
Finally, if I prefer to use left touch pad for movement, can that be done simply in the rempapper?
User avatar
Polsy37
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Fri Mar 20, 2020 10:39 pm

Re: Steam Controller

Postby Polsy37 » Sat Mar 21, 2020 10:56 pm

Got gyro activation working, also figured out how to compile it with game packs. Still working on a couple button issues that won't be too tough.

The issue is the controls feel awful. Unpredictable response. Tried changing in game settings, no luck. So it will have to be the script.

I have 3 ideas, let me know if any would be feasible
1. Extract the VDF file from PC and somehow translate it to gtuner
2. Form a wired connection between titan, pc, and ps4 to emulate my steam settings
3. Setup SC as a a mouse

Please let me know if any of these would work
User avatar
Polsy37
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Fri Mar 20, 2020 10:39 pm

Re: Steam Controller

Postby J2Kbr » Mon Mar 23, 2020 1:21 pm

Please note you will need adjust the script parameters based on the game:
Code: Select all
#define SENSITIVITY_X   5.0
#define SENSITIVITY_Y   5.0
 
#define DEADZONE_X      20.0
#define DEADZONE_Y      20.0
#define DEADZONE_D      1.0

What is the game you are playing?
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: Steam Controller

Postby Polsy37 » Mon Mar 23, 2020 3:45 pm

R6 Siege
User avatar
Polsy37
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Fri Mar 20, 2020 10:39 pm

Re: Steam Controller

Postby J2Kbr » Mon Mar 23, 2020 8:15 pm

Polsy37 wrote:R6 Siege

For R6 Siege on PS4 set the deadzone as the following:
Code: Select all
#define DEADZONE_X      20.78
#define DEADZONE_Y      20.78
#define DEADZONE_D      1.0

And adjust these two according your preference:
Code: Select all
#define SENSITIVITY_X   5.0
#define SENSITIVITY_Y   5.0

If you fell it is too fast, reduce the value. Or if too slow, increase.
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: Steam Controller

Postby Polsy37 » Tue Mar 24, 2020 1:22 am

Thanks a ton. I'll try it out
User avatar
Polsy37
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Fri Mar 20, 2020 10:39 pm

Re: Steam Controller

Postby trohn_javolta » Tue Aug 04, 2020 2:33 pm

Polsy37 wrote:Got gyro activation working, also figured out how to compile it with game packs. Still working on a couple button issues that won't be too tough.

The issue is the controls feel awful. Unpredictable response. Tried changing in game settings, no luck. So it will have to be the script.

I have 3 ideas, let me know if any would be feasible
1. Extract the VDF file from PC and somehow translate it to gtuner
2. Form a wired connection between titan, pc, and ps4 to emulate my steam settings
3. Setup SC as a a mouse

Please let me know if any of these would work


Hi, did you get any further with that?
Somehow translating VDF file to gtuner would be so awesome. I didn't dive into gtuner a lot, it seems complicated to set up especially if you have lots of activators, triggers and stuff in a steam controller config..
User avatar
trohn_javolta
Sergeant
Sergeant
 
Posts: 9
Joined: Sun Feb 16, 2020 10:28 am


Return to Titan Two Device

Who is online

Users browsing this forum: No registered users and 152 guests