Просмотр исходного кода

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

Sam Lantinga 2 месяцев назад
Родитель
Сommit
782d6bc116
1 измененных файлов с 2 добавлено и 0 удалено
  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