Idea: Add gyro recalibration and adjustable motion dead zone #974
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#974
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported by loogie on Discord
Requested
Add a way to recalibrate the current gyro input and a user-adjustable motion dead-zone slider to help address gyro drift. The user suggests calibration of the current gyro input and a slider similar to the joystick dead-zone control; no particular range or granularity was specified. Reference examples: HarbourMasters Ghostship and Lichii.
Details
The screenshots show controller configuration options including “Set gyro threshold” and “Calibrate sensor”, and a gyro panel with “Sensitivity: 100%” and “Recalibrate”. The user is unfamiliar with the technical implementation and is describing the desired behavior from a player's perspective.
Related work
Open PR #699 proposes custom gyro aiming with a configurable dead zone, but does not add sensor recalibration. Open issue #710 requests arbitrary stick dead-zone values; this request is specifically about gyro drift and calibration, not stick dead zone.
Still unknown
Some of this is already there, and #699 adds the rest:
main. Longshot learns the gyroscope's drift whenever the controller rests still, so setting it down on a table for a second recalibrates it. It learns quickly at first, then adjusts slowly so a short pause doesn't throw it off.mainhas the three-step Motion deadzone row (Low, Standard, High). #699's Custom motion style adds a finer Gyro dead zone slider (0 to 10 degrees a second), plus Gyro tightening against hand shake.#699 is still a work in progress (waiting on a Linux test), so these will arrive once it is merged.