Delay the action of the movements of a "sensitive" joystick.

Gtuner IV general support. Operation, questions, updates, feature request.

Delay the action of the movements of a "sensitive" joystick.

Postby SANTIAGUETEEEEE » Wed Jun 02, 2021 1:00 pm

Hi, everyone.
I've a problem and I need your help, as I cannot find what I'm looking for in the forum.
You see, I bought a joystick, but it's very sensitive and sometimes triggers actions when I don't want to. So my idea is that the T2 does not launch the action until I don't hold the joystick for 500 milliseconds. That is, if I've less time, or the joystick "vibrates" accidentally, don't launch the associated action.
Thanks for your help.
Cheers!!
User avatar
SANTIAGUETEEEEE
Master Sergeant
Master Sergeant
 
Posts: 32
Joined: Wed Apr 24, 2019 4:10 pm

Re: Delay the action of the movements of a "sensitive" joyst

Postby Mad » Thu Jun 03, 2021 3:12 am

Not sure I follow, are you wanting to lower the sensitivity of the left/right stick?
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: Delay the action of the movements of a "sensitive" joyst

Postby SANTIAGUETEEEEE » Thu Jun 03, 2021 9:53 am

Mad wrote:Not sure I follow, are you wanting to lower the sensitivity of the left/right stick?

I don't really know how to explain it either.
Better tell you what happens to me, let's see if we can find a good solution.
I'm a person with a spinal cord injury. I use a steering wheel and with a joystick I shift gear (up/down) in the car. The joystick is of the 'Sanwa' type.
The fact is that when I give the lever a touch up when returning to its place, it goes down a little more than necessary and acts by sending the assigned action (down the gear). I cannot regulate the joystick, in terms of its hardness, so, seeing how complete, powerful and efficient your software is, I think that it can be achieved that the action is only sent to the game when I want, and not in a way "accidental".
Thanks, Mad, for your help. :smile0202:
User avatar
SANTIAGUETEEEEE
Master Sergeant
Master Sergeant
 
Posts: 32
Joined: Wed Apr 24, 2019 4:10 pm

Re: Delay the action of the movements of a "sensitive" joyst

Postby SANTIAGUETEEEEE » Thu Jun 17, 2021 3:46 pm

Hellooo... :smile0201:
Have you found any possible solution that can help me with this problem?
Thanks for your help, people!! :smile0203:
Greetings to all!
User avatar
SANTIAGUETEEEEE
Master Sergeant
Master Sergeant
 
Posts: 32
Joined: Wed Apr 24, 2019 4:10 pm

Re: Delay the action of the movements of a "sensitive" joyst

Postby Scachi » Fri Jun 18, 2021 8:43 am

Not sure if this would work for you.
you could try to add a big deadzone for forward and backward directions so you need to press the stick in almost full direction to shift up/down then:

Code: Select all
#define SY  STICK_1_Y   // the stick to monitor
#define MINY 90.0          // ignore movements less than that value
 
main {
    if (abs(get_actual(SY)) < MINY ) set_val(SY, 0);
}
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Delay the action of the movements of a "sensitive" joyst

Postby SANTIAGUETEEEEE » Fri Jun 18, 2021 12:13 pm

Scachi wrote:Not sure if this would work for you.
you could try to add a big deadzone for forward and backward directions so you need to press the stick in almost full direction to shift up/down then:

Code: Select all
#define SY  STICK_1_Y   // the stick to monitor
#define MINY 90.0          // ignore movements less than that value
 
main {
    if (abs(get_actual(SY)) < MINY ) set_val(SY, 0);
}

The joystick seems to work better. I will continue testing your idea.
Thank you very much and good work yours, as always!! :joia: :joia: :smile0203: :smile0203:
Cheers!! :) :) :smile0201:
User avatar
SANTIAGUETEEEEE
Master Sergeant
Master Sergeant
 
Posts: 32
Joined: Wed Apr 24, 2019 4:10 pm


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 43 guests