
Slide across to turn it
Gyro Get_gravity
by @reflexDevice-tilt controls for phone games
The maker wrote these words. Spawn hasn't checked what they claim.
2 installs
v1.0.0 · updated
Device-tilt controls for phone games: deviceorientation → ordinary input axes, with first-reading neutral calibration, redraw-proof one-time bootstrap, data-recal recalibrate buttons, deadzone/response tuning, and a keyboard-fallback signal for desktop.
What’s new
First release: device-tilt → input axes rig extracted from Marble Rush. lib/gyro.js (bootstrapScript/bootstrapTag/teardown, tunable maxDeg/deadzone/throttle/fallbackAction) + full wiring skill covering the four phone traps (redraw-proof bootstrap, cross-realm scanner, neutral calibration, desktop fallback) and iOS permission note.





