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

On-screen touchpad for mouse control on mobile #11

Open
pdjstone opened this issue Jan 4, 2023 · 1 comment
Open

On-screen touchpad for mouse control on mobile #11

pdjstone opened this issue Jan 4, 2023 · 1 comment
Labels
mobile Make it work well on mobile devices

Comments

@pdjstone
Copy link
Owner

pdjstone commented Jan 4, 2023

It would be great to be able to use the emulator on mobile devices. For mouse control this could be done using an on-screen touchpad. This would appear below the screen when in portrait mode, or beside it when in landscape.

Some prototyping will need to be done to figure out how best to handle mouse clicks (including middle and right button clicks) and drag-drop.

@pdjstone pdjstone added the mobile Make it work well on mobile devices label Jan 4, 2023
@pdjstone
Copy link
Owner Author

pdjstone commented Dec 2, 2023

I implemented a very basic touchpad with pointer events but I will definitely need to implement pointer acceleration to make it feel right. See http://who-t.blogspot.com/2014/07/pointer-acceleration-in-libinput.html and https://web.archive.org/web/20130126195342/http://msdn.microsoft.com/en-us/windows/hardware/gg463319.aspx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Make it work well on mobile devices
Projects
None yet
Development

No branches or pull requests

1 participant