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

Mouse tracking #39

Closed
dhewer opened this issue May 23, 2018 · 7 comments
Closed

Mouse tracking #39

dhewer opened this issue May 23, 2018 · 7 comments
Labels

Comments

@dhewer
Copy link

dhewer commented May 23, 2018

Similarly to this issue: #21

The mouse tracking seems off in some cases, one example:

https://www.dosgamesarchive.com/play/shooting-gallery/

Whether regular-sized or full screen, the mouse cursor in-game doesn't track with the visible Windows cursor. The difference between the game cursor and OS cursor is greater as the cursor approaches the bottom right corner.

I'm not sure if this is an emulator issue or a configuration issue? Thanks again for any assistance.

@caiiiycuk caiiiycuk added the bug label Oct 14, 2019
@dhewer
Copy link
Author

dhewer commented Jul 28, 2020

This issue is fixed simply by using autolock: true ... not sure if this was the case way back in 2018 or not, but the mouse works fine with autolock enabled now. :)

@caiiiycuk
Copy link
Owner

Thanks!

@Ser-Gen
Copy link

Ser-Gen commented Aug 13, 2021

I think this should be fixed.
Autolock is disabled on mobile.

@caiiiycuk
Copy link
Owner

@Ser-Gen what do you mean?

@Ser-Gen
Copy link

Ser-Gen commented Aug 14, 2021

@caiiiycuk a position of the mouse pointer of OS doesn't match to position of the pointer in the game The Incredible Machine 2.

https://dos.zone/rep/my/the-incredible-machine-2-1994%40Incredible_Machine_2_floppy.jsdos%3AAaaQOw2FkaMfKu4sMn3IasKeEJx

pjmzRRM2LL.mp4

As suggested in this comment, I can enable the autolock to hide this mismatch.
#39 (comment)

But the autolock doesn't work on touch devices. The position of tap will be wrong.

Should I create a separate issue? This problem is game-dependent.

@caiiiycuk
Copy link
Owner

Yes is better to create separate issue. However for some games it's not possible to sync browser cursor position and game cursor position. Only autolock can help.

@caiiiycuk
Copy link
Owner

BUT, looks like tim should works without autolock

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

No branches or pull requests

3 participants