On Fri, Jul 12, 2024 at 2:44 PM Christopher Speck <die.drac...@gmail.com> wrote:
> Nick, just following up from your initial response. I believe touchpad > utilizes separate "touch" events, which are only registered once. > > On a tangent, the wheel handling accumulates some pixels-per-event, which > after hitting a threshold then triggers sending a wheel tick event. The > exact values seem to have been derived through trial-and-error (they work > fairly well). I've looked at a change however, that allows swapping between > that behavior and just doing a one-to-one browser-event to guac-event. For > mice this 1-1 behavior generally works better for my use cases, while the > current accumulation/threshold behavior works better for touchpads > (touchpads tend to generate many events). Is this something else that > others would be interested in submitting upstream? I haven't brought this > up before because I haven't seen anything on these mailing lists about it. > > Sure, I think we'd be open to seeing the changes you're proposing and see if it makes sense to go that route - we definitely welcome the participation in the development! I think my biggest concern at a high level is making sure that the changes work across various browsers and platforms without any issue, but it should be easy enough to test it out. -Nick