[Scummvm-tracker] [ScummVM :: Bugs] #14350: iOS Pencil Support

ScummVM :: Bugs trac at scummvm.org
Mon Sep 23 15:43:28 UTC 2024


#14350: iOS Pencil Support
----------------------------+------------------------
Reporter:  artrelated       |       Owner:  (none)
    Type:  feature request  |      Status:  new
Priority:  normal           |   Component:  Port: iOS
 Version:                   |  Resolution:
Keywords:                   |        Game:
----------------------------+------------------------
Comment (by andshrew):

 Thanks for confirming that.

 I've gone back and rebuilt my version from a couple of years ago (v2.2.0),
 and yes the Pencil input does "just work" in that version.

 Looking at the current version, input handling has become a lot more
 robust since then. There's some stuff going on here where the type of
 every input is being overridden:

 https://github.com/scummvm/scummvm/blob/6c8c73a2452f1384a0428633a9043738f58e94a5/backends/platform/ios7/ios7_touch_controller.mm#L45

 If I remove that from the code then Pencil movement is recognised again,
 at least for moving the cursor around screen. But actual presses aren't,
 and it looks specific events need to be added to handle Pencil taps on the
 screen, which is a bit beyond what I can figure out.

 So in response to larsamannen comment, it would be nice if basic "finger
 replacement" input could be restored as a starting point, so pressing or
 dragging the Pencil moves the cursor and tapping is like a left mouse
 button click.


 Replying to [comment:7 artrelated]:
 > that may very well be the case. i have noticed much older apps that work
 with the pencil without any special adjustments. for example the original
 idos app, which, i think, predates the pencil by years, works without
 issues.
 > a custom implementation could be a nice addition but if it's an easy
 fix, having it as a simple finger replacement would be a great thing to
 have.
 >
 > last version that i tested, the release from a couple of weeks ago
 doesn't work at all with the pencil. this is the case for over a year now.
 >
 > Replying to [comment:6 andshrew]:
 > > Does the current version on the App Store have any Apple Pencil
 support right now?
 > >
 > > I’m sure when I manually built it for iPad when adding full screen
 support for the Pro a few years ago it worked out of the box essentially
 as a finger replacement, but that doesn’t seem to be the case now.
 > >
 > > Just wondering if something is messed up my end, or if something did
 change and the Pencil needs specific support now.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14350#comment:8>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list