skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.21k stars 64 forks source link

External scrolling devices doesn't work on the iPad Pro #493

Open necopinus opened 2 years ago

necopinus commented 2 years ago

Lagrange on iPadOS doesn't seem to detect / work with external scrolling devices. Scrolling using the keyboard or by dragging the page (either with a finger or with click-and-drag) works, but neither scroll wheels nor two fingered scrolling using the iPad Pro Magic Keyboard works.

Tested on 15.4.1 with Lagrange 1.12 (2) 2022-04-05. Tested devices:

For all devices, scrolling works as expected in all other apps. Lagrange on the desktop seems to work fine.

Might be the same issue as #301, though that seems to have resolved itself for the author.

skyjake commented 2 years ago

I think these external devices either don't produce input events via SDL, or if they now do, I'm not handling them.

It could be worth adding native iOS code to handle these input events directly. I already have some of this code on macOS for scroll events.

antanst commented 5 months ago

Can confirm this still happens in latest iOS testflight version 1.17 (9)