Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't hover with Apple Pencil on iOS #29594

Open
neko-kai opened this issue Aug 25, 2024 · 5 comments
Open

Can't hover with Apple Pencil on iOS #29594

neko-kai opened this issue Aug 25, 2024 · 5 comments

Comments

@neko-kai
Copy link

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 #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
Copy link

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
Copy link

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

@neko-kai
Copy link
Author

@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
Copy link

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
Copy link

hwsmm commented Aug 26, 2024

It will get fixed once this is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants