Arian04 / android-hid-client

Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)
GNU General Public License v3.0
109 stars 4 forks source link

Add two finger scroll functionality to touchpad #31

Open Arian04 opened 2 months ago

Arian04 commented 6 days ago

I had a thought a while ago that I should document here.

Don't operating systems usually handle gestures on their own? So maybe I just need to send proper events for finger up/down and ensure that it works for multiple fingers at the same time, then the OS can figure it out? I think? If that's all true, I'll probably just make it compliant with a standard precision touchpad spec and it should just work™

brian6932 commented 6 days ago

I believe on Windows you'd have to have make the HID device compatible with the native Windows Precision Driver to use the native touchpad features (Windows 8.1 and above) https://learn.microsoft.com/windows-hardware/design/component-guidelines/touchpad-protocol-implementation.