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

uikit: Initial Apple Pencil support. #11753

Merged
merged 4 commits into from
Dec 28, 2024

Conversation

icculus
Copy link
Collaborator

@icculus icculus commented Dec 27, 2024

This PR is currently just pulling in @frenzibyte's work; I'm going to clean up a few things and merge.

Reference Issue #9911.
Reference Issue #10516.

@icculus icculus added this to the 3.2.0 milestone Dec 27, 2024
@icculus icculus self-assigned this Dec 27, 2024
@icculus icculus force-pushed the sdl3-ios-apple-pen-support branch from 119dbae to b51077b Compare December 28, 2024 20:01
This manages axes correctly across events, sorts out the math to convert from
Apple's data to what SDL expects, and a few other tweaks and corrections.
…utput.

Otherwise, on HiDPI displays (like a retina iPad), the lines you draw don't
match where the pen is touching.
@icculus icculus force-pushed the sdl3-ios-apple-pen-support branch from b51077b to 9baebaf Compare December 28, 2024 20:19
@icculus
Copy link
Collaborator Author

icculus commented Dec 28, 2024

trim.B5DF38D0-2759-423D-829A-B0B6F77C06E8.MOV

@icculus icculus marked this pull request as ready for review December 28, 2024 20:22
@icculus icculus merged commit c030e6f into libsdl-org:main Dec 28, 2024
40 checks passed
@icculus icculus deleted the sdl3-ios-apple-pen-support branch December 28, 2024 20:36
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