Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Roß
2809da9a35 [Windows,Mouse] Restricted the mouse movement to the actual window area to prevent accidental focus loss by clicking outside the window. 2024-05-10 17:12:36 +02:00
JeodC
481cbc3afe Import extra mouse buttons from Piccu
Import the extra mouse buttons for Windows from Piccu Engine commit 2924ad2. Will help until SDL2 is brought to Windows platform.
2024-05-06 08:35:50 -04:00
Thomas Roß
318a8f6462 [Windows,Mouse] Removed call to DDIOShowCursor() from ddio_MouseMode() so we can set the mode before ddio_MouseInit() gets called and also prevent overrideing the mode always with MOUSE_STANDARD_MODE. 2024-04-27 18:54:07 +02:00
Thomas Roß
e28e4588e5 [Windows,Mouse] Reactivate code to evaluate mouse mode. 2024-04-27 18:43:53 +02:00
Kevin Bentley
1f45163248 Updated source to reflect the license that this code is released under. 2024-04-20 09:57:49 -06:00
InsanityBringer
0be24877d8 oops, left a comment incompl 2024-04-18 17:54:41 -05:00
InsanityBringer
396131c15b Remove unneded mprintfs 2024-04-18 17:46:20 -05:00
InsanityBringer
766e6420c4 Deregister the raw input device on DDIO shutdown, to avoid excessive capturing of the mouse. 2024-04-18 17:38:29 -05:00
InsanityBringer
991fa75f16 Remove smoothing code that did nothing 2024-04-16 20:44:50 -05:00
InsanityBringer
21a5ff895b Raw input mouse handler 2024-04-16 20:40:15 -05:00
Kevin Bentley
7399b5a2f2 Fix CRLF line endings. 2024-04-16 14:21:35 -06:00
Kevin Bentley
c6640cc631 clang-format on everything. 2024-04-16 12:56:40 -06:00
Kevin Bentley
df209742fc Initial import 2024-04-15 21:43:29 -06:00