Skip to content

Gamepad Deadzone #485

Answered by Windwoes
baqwas asked this question in Q&A
Discussion options

You must be logged in to vote

There is not currently a mechanism to apply a user-specified deadzone in the SDK. The SDK does apply a model-specific deadzone on the Driver Station side, with the following values:

public static final float DEADZONE_F310 = 0.06f;
public static final float DEADZONE_OFFICIAL_XBOX_360 = 0.15f;
public static final float DEADZONE_ETPARK = 0.05f;
public static final float DEADZONE_OFFICIAL_PS4 = 0.08f;

The issue with supporting user-specified deadzones is that they are inherently going to be specific to probably not only a certain gamepad model, but also specific unit of that model; so if you were to specify a deadzone in code and then swap the gamepads used by driver 1 and driver 2, now your …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by baqwas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants