Skip to content

Add optional cube orientation sync using GAN gyro events#2

Draft
Dawnforger wants to merge 21 commits intomainfrom
cursor/gan-smartcube-app-fc54
Draft

Add optional cube orientation sync using GAN gyro events#2
Dawnforger wants to merge 21 commits intomainfrom
cursor/gan-smartcube-app-fc54

Conversation

@Dawnforger
Copy link
Owner

Summary

  • add a new Cube orientation sync toggle in the Solve > Cube Sync card
  • persist orientation sync preference in local storage
  • request hardware info on connect and handle HARDWARE + GYRO events from GAN cube stream
  • drive CSS 3D cube orientation from GAN quaternion data when sync is enabled
  • keep manual drag rotation behavior when sync is disabled
  • show orientation sync status states (off, waiting for connection, waiting for data, active, unsupported)

Validation

  • npm run build
Open in Web Open in Cursor 

Dawnforger and others added 21 commits March 23, 2026 20:58
Update checker no longer relies on API ordering when multiple releases
include APK assets.

Made-with: Cursor
- setup-android-build-env.sh: install JDK 21 + gh on Fedora/Nobara/Debian
- run-apk-debug.sh: pin JAVA_HOME to JDK with javac, ANDROID_HOME fallback
- publish-apk-release.sh: gh release create with renamed debug APK
- local.properties.example for sdk.dir; README + npm scripts

Made-with: Cursor
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
…hlights

Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
Co-authored-by: Dawnforger <Dawnforger@users.noreply.github.com>
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.

2 participants