Skip to content

Update osu-framework to 2026.502.1; add disable-pen-click toggle; fix DeX double cursor - #289

Merged
winnerspiros merged 2 commits into
masterfrom
copilot/update-nuget-packages
May 2, 2026
Merged

Update osu-framework to 2026.502.1; add disable-pen-click toggle; fix DeX double cursor#289
winnerspiros merged 2 commits into
masterfrom
copilot/update-nuget-packages

Conversation

Copilot AI commented May 2, 2026

Copy link
Copy Markdown

Three independent Android/stylus fixes bundled together.

Package update

Disable pen click (S Pen)

New AndroidStylusDisableClick setting (default false). When enabled, the stylus tip never synthesises a left-click — useful for cursor-only pen use with a separate keyboard/gamepad input method.

  • New OsuSetting.AndroidStylusDisableClick wired through OsuGameAndroidAndroidStylusHandler.DisableClick (volatile, hot-path safe)
  • Hot path: all isLeftDown = true paths guarded by !DisableClick; Up/Cancel/ButtonRelease still clears state normally
  • UI toggle added to AndroidStylusSettings above the existing "Treat S Pen as touch" checkbox

DeX double cursor

PointerIcon.Null was only set on DecorView. Android resolves pointer icons from the innermost hit-tested view, so the SurfaceView was still showing the system arrow in DeX mode. Fix sets PointerIcon.Null on the SurfaceView as well, inside the existing DecorView.Post lambda where it's guaranteed to be attached.

Copilot AI and others added 2 commits May 2, 2026 15:01
… cursor on SurfaceView

Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/9e4704cb-dc9c-48d9-a063-a068bd1cb558

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
@winnerspiros
winnerspiros marked this pull request as ready for review May 2, 2026 16:03
Copilot AI review requested due to automatic review settings May 2, 2026 16:03
@winnerspiros
winnerspiros merged commit fe0e887 into master May 2, 2026
14 of 16 checks passed
@gitar-bot

gitar-bot Bot commented May 2, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

Copilot AI removed the request for review from Copilot May 2, 2026 16:28
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