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

support for using mouse as an analog joystick? #4

Open
gtoal opened this issue Feb 15, 2021 · 0 comments
Open

support for using mouse as an analog joystick? #4

gtoal opened this issue Feb 15, 2021 · 0 comments

Comments

@gtoal
Copy link

gtoal commented Feb 15, 2021

Would you consider adding the option to use the mouse as an analog joystick? When the mouse is over the emulated screen, map the mouse position relative to the left/right and top/bottom of the screen to -128/127... freeze the value when the mouse moves out of the emulated display area. Hide the OS mouse cursor when it is over the emulated display area.

The mechanism has been tested in vecx and vide and works acceptably well, and allows emulators to play games that require an analog joystick. (for example http://gtoal.com/vectrex/wangle/wangle02a.bin or http://gtoal.com/vectrex/unblockme/unblockme.bin )

There's an analog joystick test program at http://gtoal.com/vectrex/joystick/

regards,

Graham

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

No branches or pull requests

2 participants