Page MenuHomeSchine - Phabricator

Starmade | Joystick/Xbox controller input: Missing deadzone
Confirmed task for development, LowPublic

Description

Joysticks and xbox controllers need a 'deadzone' to compensate their unsteady signal in center, and prevent accidental ship movement even after releasing the joystick.

Original Reporter: Support Ticket 2822

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.197.36 (DEV)
Category
Input/Controls
Hardware/Software/System
OS-Specific
No
Hardware-Specific
Joystick
Video Card Vendor
uncertain
Steps to reproduce

plug in a joystick or controller and watch the input values from the analog axis sticks in the options settings for them
would look something like this :

Tester information (Internal use only)

even though i cant reproduce any problem with it, i think it should be possible to set a value range that gets ignored as usable input in those case where the drivers are not providing deadzone settings ( i couldnt find them on the x360 basic controller driver, only on my joystick drivers)

Event Timeline

AndyP updated the task description. (Show Details)Apr 6 2016, 7:45 AM
AndyP added a project: Issue Navigation.
AndyP shifted this object from the S1 Public space to the S3 Starmade space.
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".
AndyP changed the edit policy from "Task Author" to "Starmade (Project)".
AndyP changed Category from none/unspecified to Engine.
AndyP changed Hardware-Specific from No to Joystick.
AndyP edited Serverconfig (server.cfg). (Show Details)
AndyP edited Clientconfig (settings.cfg). (Show Details)
AndyP moved this task from New / Unconfirmed to Open / Validated on the Issue Navigation board.
AndyP added a subscriber: AndyP.
AndyP created this task.
AndyP claimed this task.
AndyP raised the priority of this task from to Needs Triage/Unclassed.
AndyP removed AndyP as the assignee of this task.Apr 6 2016, 7:48 AM

-Validated-

i cant cause any disturbance with the controller or joystick.
the ship isnt moving with vibrating the controller or the stick (watching the joystick output and seeing it vibrating around the center marks) in my test.

not sure, but the game may not react sensitiv enough to even make anything with those minimal inputs ?


this is what my controller outputs at random .. and it causes no movement.

do you have any indication that it causes a problem ?
or am i doing something wrong here ... or different ?

SmilingDemon claimed this task.
AndyP added a comment.Apr 8 2016, 2:57 PM

It may be related to older controllers with a slightly loose center position, or possible other controllers that do not have a perfectly calibrated zero position.

How far do you need to move the stick to actually create a movement on an agile ship?

SmilingDemon added a comment.EditedApr 8 2016, 3:02 PM

yeah ... maybe ... but i can see the joystick very clearly moving around its center position when i do shake it ... and i have the deadzones deactivated in the driver software for the check .. it had no visual effect at all in game.

my Xbox controller is a used one ... no idea HOW used however ;)

AndyP added a comment.Apr 8 2016, 3:21 PM

oh right, drivers also have deadzones. hm
not sure if its something we should even touch then.

Xbox 360 wireless controller, Spinning slightly to the left after multiple analog inputs from different axis simultaneously.

My hands are no longer on the controller. But I still have this,

and thus this

.

Customization of dead zones are a must to support multiple controller manufacturers, differences can even arise from different builds from the same manufacturer (even of the same controller). The wear and tear of each controller can be a factor.

http://www.gamespot.com/forums/playstation-nation-1000002/analog-stick-dead-zone-on-new-controllers-28733728/ and https://www.halowaypoint.com/en-us/forums/6e35355aecdf4fd0acdaee3cc4156fd4/topics/setting-your-inner-outer-deadzones-for-best-aiming/63bb20d7-4aef-49c2-a12e-850bb45d9a25/posts

Meaning I doubt any single dead zone setting will suffice, the player will just need to be able to change their own personal dead zone setting. This is why certain programs and games allow you to change your dead zone.

And what is the name of the driver the game uses for joystick/controller input?

AndyP added a comment.Apr 9 2016, 2:13 PM

Its supplied by the java game library.
lwjgl.org

Not sure about more details on it.

SmilingDemon changed the task status from Open to In Queue (Game).Apr 9 2016, 6:29 PM

-confirmed-

even though i cant reproduce any problem with it, i think it should be possible to set a value range that gets ignored as usable input in those case where the drivers are not providing deadzone settings ( i couldnt find them on the x360 basic controller driver, only on my joystick drivers)

Restricted Application edited projects, added Starmade, Game Development; removed Issue Navigation. · View Herald TranscriptApr 9 2016, 6:29 PM
SmilingDemon set Task Type to Bug.Apr 9 2016, 6:32 PM
SmilingDemon set OS-Specific to No.
SmilingDemon set Video Card Vendor to uncertain.
SmilingDemon set Affected Gamemode(s) to Single and Multi.
SmilingDemon set Reproducible to Yes.
SmilingDemon set Last tested (version) to 0.197.36 (DEV).
SmilingDemon edited Steps to reproduce. (Show Details)
SmilingDemon edited Tester information (Internal use only). (Show Details)
SmilingDemon moved this task from Unclassed to Issue affecting current release on the Starmade board.
SmilingDemon triaged this task as Low priority.
AndyP changed the task status from In Queue (Game) to In Queue.Mar 10 2017, 5:07 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 5:07 PM
AndyP changed Category from Engine to Input/Controls.Mar 15 2017, 6:41 PM
Restricted Application edited projects, added Controls; removed Engine. · View Herald TranscriptMar 15 2017, 6:41 PM
AndyP moved this task from Backlog / Unclassed to Beta on the Controls board.Mar 16 2017, 7:44 PM
AndyP edited projects, added Game Development (Beta); removed Game Development.