ppeccin / WebMSX

WebMSX - Online MSX Emulator
https://webmsx.org
399 stars 72 forks source link

Pointer lock to gamewindow #30

Closed Selious closed 6 years ago

Selious commented 6 years ago

On a multimonitor setup when playing a mouse game like breaker if I move the mouse too far to the right or left, the position get's weird, is it possible to lock the mouse to the game window or only send mouse data when the mouse pointer is actually within the webmsx rectangle?

ppeccin commented 6 years ago

Middle mouse button to lock/unlock pointer.

Paulo

On Dec 10, 2017 18:13, "Selious" notifications@github.com wrote:

On a multimonitor setup when playing a mouse game like breaker if I move the mouse too far to the right or left, the position get's weird, is it possible to lock the mouse to the game window or only send mouse data when the mouse pointer is actually within the webmsx rectangle?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ppeccin/WebMSX/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AArloC_4CrXmyVh366z3FCFuWybyFq2nks5s_DtLgaJpZM4Q8oZs .