Idea: Add gyro recalibration and adjustable motion dead zone #974

Open
opened 2026-11-15 23:59:49 +00:00 by BeanIssues · 1 comment
Collaborator

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.

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

  • Desired dead-zone range and adjustment granularity.
  • Exact calibration behavior beyond recalibrating the current gyro input.
  • Longshot version/channel and platform/controller where the user experiences gyro drift (no specific reproduction or system details were provided).
Reported by [loogie on Discord](https://discord.com/channels/1569849200047427645/1571670125135007794/1571670125135007794) ## 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](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/699) proposes custom gyro aiming with a configurable dead zone, but does not add sensor recalibration. Open issue [#710](https://git.magicbean.dev/MagicBeanDev/Longshot/issues/710) requests arbitrary stick dead-zone values; this request is specifically about gyro drift and calibration, not stick dead zone. ## Still unknown - Desired dead-zone range and adjustment granularity. - Exact calibration behavior beyond recalibrating the current gyro input. - Longshot version/channel and platform/controller where the user experiences gyro drift (no specific reproduction or system details were provided).

Some of this is already there, and #699 adds the rest:

  • Calibration is automatic on 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.
  • Recalibrate gyro (new in #699): a row on the Motion page that starts that learning over on request. Press it, set the controller down for about three seconds, and the row says Done. This helps with drift that changes during play, such as a controller warming up.
  • Dead zone: main has 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.

Some of this is already there, and #699 adds the rest: - **Calibration is automatic on `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. - **Recalibrate gyro** (new in #699): a row on the Motion page that starts that learning over on request. Press it, set the controller down for about three seconds, and the row says Done. This helps with drift that changes during play, such as a controller warming up. - **Dead zone**: `main` has 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.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#974
No description provided.