Skip to content

Gyro Momentum Profile Settings Feature#110

Open
M00ND0GG wants to merge 1 commit intoinputlabs:mainfrom
M00ND0GG:gyro-momentum-profile-settings
Open

Gyro Momentum Profile Settings Feature#110
M00ND0GG wants to merge 1 commit intoinputlabs:mainfrom
M00ND0GG:gyro-momentum-profile-settings

Conversation

@M00ND0GG
Copy link

@M00ND0GG M00ND0GG commented Feb 5, 2026

Summary

Adds UI controls for the new configurable gyro momentum feature, allowing users to tune momentum behavior through the web interface.

Changes

Gyro Settings UI

  • Added "Enable Momentum" toggle
  • Added "Vertical Dampening" control (0.1-50 range)
  • Added "Horizontal Dampening" control (0.1-50 range)
  • Added "Cutoff Velocity" threshold control (0.1-100 px/s range)
  • Added help dialogs (?) for each setting with detailed explanations
  • Styled to match existing gyro settings layout

Data Structure

  • Updated CtrlGyro class in ctrl.ts to include momentum fields
  • Default values: H=4.0, V=4.0, Threshold=200.0
  • Added encode/decode support for new fields in profile data

Files Modified

  • src/lib/ctrl.ts - Updated CtrlGyro class with momentum fields
  • src/components/profile/section.html - Added momentum UI controls
  • src/components/profile/section.ts - Added help dialog text
  • src/components/profile/section.sass - Added styling for help icons

Related PR

This is the companion UI for the firmware PR: inputlabs/alpakka_firmware#224

Screenshots

image

Testing

  • Tested on Edge with Alpakka v1.0 controller connected
  • All settings save/load correctly from device
  • Help dialogs display properly

@M00ND0GG M00ND0GG changed the title Gyro Momentum & Relative Axes Sensitivity Profile Settings Gyro Momentum Profile Settings Feature Feb 12, 2026
@M00ND0GG M00ND0GG force-pushed the gyro-momentum-profile-settings branch 3 times, most recently from 5fbb289 to dd47bf4 Compare February 12, 2026 03:14
@M00ND0GG M00ND0GG force-pushed the gyro-momentum-profile-settings branch from dd47bf4 to 4ad8c1c Compare February 12, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant