Search found 3 matches

by boj44
Wed May 03, 2023 11:58 am
Forum: Support and Development
Topic: Touchpad support
Replies: 5
Views: 2490

Re: Touchpad support

The wheel API works out of the box! I didn't think to look there. Ty Brot, thread closed.

Note: it's not smooth scrolling, but that's a lot to ask for on linux. Even firefox doesn't know how to do it by default without setting `MOZ_USE_XINPUT2=1` in my case
by boj44
Tue May 02, 2023 9:51 pm
Forum: Support and Development
Topic: Touchpad support
Replies: 5
Views: 2490

Re: Touchpad support

Have you considered reading the Touch section on the wiki? https://love2d.org/wiki/love It is however an OS software question if your touchpad is actually exposed as a touchpad or just a mouse. If you only get mouse events, there is little you can do from the löve side. > "love.touchmoved: Cal...
by boj44
Tue May 02, 2023 4:05 pm
Forum: Support and Development
Topic: Touchpad support
Replies: 5
Views: 2490

Touchpad support

I can't find any APIs to read touchpad events. Am I missing something? I see some old posts about it, but the conversation quickly turns into talking about touchscreens. My use case: I have a custom map editor and I'd like to pan using 2 finger motion on a laptop touchpad. Would be a big quality of ...