I would love to see Lagrange running on all kinds of devices. Using C and SDL makes this achievable — exhibit A: the app on 2017 iPad Pro.

The more mobile things get, the more one needs to adapt the UI and behavior. You get a lot of stuff for free with native UI components, but with custom UI and SDL there's none of that.

Just getting the code to run is the easy part, and I'm happy to report that it runs smoothly.

You can get away with a desktop-like UI on a tablet, but not on a phone. There's a mountain of work to adapt the UI for mobile. This is not a top priority at the moment, but I'm curious to see how far I can get while remaining (mostly) platform-agnostic!

In the short term, I'm hoping to use this to improve touch event handling since that's a thing on laptops as well.

Follow

@jk I'll be pleased to test on my Mobian PineTab if that'll help.

· · Web · 2 · 0 · 0

@edavies Sure! Once I get some touch event processing in place we can see how the PineTab performs.

@edavies Would be interesting to hear how v1.2.1 works on the PineTab! It can now handle SDL touch events if they are being sent.

github.com/skyjake/lagrange/is

@jk Excellent, I'll give it a try this evening (UK time).

@jk Seems to work fine though with the high-speed scrolling as seen on the Pi. Changing documentwidget.c as suggested in that issue fixes that. Note of this added to Github [¹].

It's nice to see what feels like a well-engineered program coming along nicely like this.

[¹] github.com/skyjake/lagrange/is

@edavies Great! Sounds like it should work well after I fix the scroll event processing.

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!