-
Notifications
You must be signed in to change notification settings - Fork 68
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
Mouse support #127
Comments
The idea is to have the mouse position in the window / "screen" scaled 0..&FFFF be the values returned by the first two A2D channels with the two mouse buttons being the two fire buttons. |
A further option may be to support AMX style mice, but this is tricky, as the input is basically X+=1, X-=1, Y+=1 or Y-=1 which is OK if the mouse is hidden and locked to the emulator window as it can be re-positioned to the middle after each movement is captured, but not great for WIMP environment where you can't then use the mouse. |
You have this working already for touch-screen emulation. E.g. for https://bbc.godbolt.org/?autoboot&disc=https://dl.dropboxusercontent.com/s/39mclkwmu1j4gj1/Microvitec-Touchtec-501.ssd?dl=0 - Just a quick line to say, please don't drop this brilliant functionality. :) |
maybe helpful: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API allows you to turn off the host cursor, and yields relative mouse movement. |
Thanks, Matt. I'll take a look into this. Hoping to get buried into the BBC
Micro educational bit early next year. Did a bit on MAVIS this year which
just slightly predates the BBC Micro:
https://www.oneswitch.org.uk/art.php?id=318
Best wishes,
Barrie
…On Fri, 21 May 2021 at 19:51, Spongman ***@***.***> wrote:
maybe helpful:
https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API allows
you to turn off the host cursor, and yields relative mouse movement.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMBL4M3UKL4PZF5WPWVOG3TO2TT7ANCNFSM4CQXR35Q>
.
|
No description provided.
The text was updated successfully, but these errors were encountered: