Procházet zdrojové kódy

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

Sam Lantinga před 2 měsíci
rodič
revize
782d6bc116
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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