Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #87

Open
kaleman115 opened this issue Jul 23, 2021 · 1 comment
Open

Question #87

kaleman115 opened this issue Jul 23, 2021 · 1 comment

Comments

@kaleman115
Copy link

I am working on a project using your Lazycast program and it works great.
Windows detected it find and was able to pass through the USB to the pc from the raspberry pi, I was using a touch display with a USB touch interface and windows detects that there is a touch input but it just moves the mouse where I touch because Windows doesn't think that the wireless display is a touch display.
How easy or difficult would it be to get Windows to see Lazycast as a touch display?
Any help or advice would be greatly appreciated.

@homeworkc
Copy link
Owner

If you are using Windows 10, the underlying implementation of user control is that an X window captures user inputs and then the inputs are converted to HID descriptors and reports, which are hard-coded as mouse and keyboard descriptors and reports. The difficulty of supporting a touch display depends on how different the HID descriptors and reports a touch display are from those of mouse and keyboards. An alternative approach is to intersect USB traffic (since a touch display is most likely a USB HID device) and directly passing the HID traffic to Windows. The reason that the system wasn't implemented this way is because it requires greater system control and there might be issues in attaching/detaching the USB devices to/from the Linux kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants