ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.05k stars 2.22k forks source link

Can't hover with Apple Pencil on iOS #29594

Open neko-kai opened 2 weeks ago

neko-kai commented 2 weeks ago

Type

Game behaviour

Bug description

It's impossible to hover - move the cursor without registering an M1 key press - when using an Apple Pencil. Touching the screen with the pen always presses M1 irrespective of pressure.

Judging by https://github.com/ppy/osu/issues/6401 hover/tap/drag differentiation is supported for Android tablets, but that doesn't seem to be the case for iOS?

Screenshots or videos

No response

Version

2024.625.2-lazer

Logs

.

Star-Clara commented 2 weeks ago

try turn on this? After opening this, you may be able to make the effect consistent with the mouse hovering effect on your PC when your Apple Pencil touches the screen, and then press Z/X on the keyboard as "click" (? Maybe so, I should have turned on this switch to achieve this effect, but I forgot whether it was the exact switch) image

Star-Clara commented 2 weeks ago

But the prerequisite is that you need to have a keyboard💦

neko-kai commented 2 weeks ago

@Star-Clara That allows to hover, but disables dragging or tapping. I'm playing tap+x and have trouble following streams since I have to lift the pen to tap and lose the ability to aim at the same time. Apparently regular tablet (and Android?) users can light press on the pen to hover and increase pressure to tap, so they can aim while streaming.

But seemingly this is not implemented on iOS? Pencil seems to be treated exactly like a regular touch input, even though Apple pencil itself supports pressure and OS APIs expose it too.

Jan-Arbus commented 2 weeks ago

Android pen hover is broken too. So this isn't iOS specific. I think it might be an SDL3 issue, since the mobile framework moved to SDL3 I've noticed that pen hover input isn't processed

hwsmm commented 2 weeks ago

It will get fixed once this is done.