~mil/sxmo-tickets#119: 
Add zoom/unzoom gestures.

It would be nice to have 2 fingers pulling-appart "zoom/unzoom" gestures.

This would be useful to increase/decrease the font size. eg. on menus, where I regularly click on the wrong item with my big fingers.

In st (if possible) reducing font size slightly would allow to see a bit more on the screen without resorting to rotate.

In Foxtrotgps, it to would be nice to have it mapped to the "+" / "-" toolbar icons.

Status
REPORTED
Submitter
~pzo
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~iv 4 years ago*

You can try https://codeberg.org/iv/pinephone_sxmo_lisgd , I added some code to increase/decrease brightness on horizontal stretch/pinch but you can do whatever you want. The new swipes are PinchDU, StretchDU, PinchLR, StretchLR, PinchULDR, StretchULDR, PinchDLUR, StretchDLUR, see config.def.h.

They can also be called with -g, see if (!strcmp(gestpt, "PLR")) gestsarr[gestsarrlen-1].swipe = PinchLR; ... if (!strcmp(gestpt, "SULDR")) gestsarr[gestsarrlen-1].swipe = StretchULDR; in main in lisgd.c.

I will send it as a patch to lisgd once I've tested it a bit more. Use with caution, it's work in progress; but if you want it right now and are prepared to tinker, you are welcome to use it. I'm happy with any suggestions to improve it.

~proycon 4 years ago

That's a pretty cool feature to have! Looking forward to the patch once you consider it mature.

Register here or Log in to comment, or comment via email.