Selaa lähdekoodia

Note that Windows doesn't see mouse button releases when RIDEV_NOLEGACY is active.

Sam Lantinga 3 viikkoa sitten
vanhempi
commit
782d6bc116
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      include/SDL3/SDL_hints.h

+ 2 - 0
include/SDL3/SDL_hints.h

@@ -4758,6 +4758,8 @@ extern "C" {
  * players are using high DPI mice, but should be disabled while showing
  * custom assert dialogs in your application code.
  *
+ * Caution: Windows will not see mouse button releases in relative mode with this active. This means you should not enable relative mode while a mouse button is currently pressed.
+ *
  * - "0": Windows mouse events will be generated while relative motion is
  *   enabled. (default)
  * - "1": Windows mouse events will not be generated while relative motion is