upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/gameinput.md
diff options
context:
space:
mode:
authorДмитрий Корлодный <deusex1998@gmail.com>2026-11-28 13:59:13 +0000
committerДмитрий Корлодный <deusex1998@gmail.com>2026-11-28 13:59:13 +0000
commitab95ff8427caa30a5f87d85af097580d7e7d086f (patch)
treed4625cfe634303abfa7f555c24c95f5274ba71db /docs/gameinput.md
parent7ffcb8e260d3cedfb0077d924b0be189293c5a2c (diff)
parent9c49bd5332327e689c5c957786c31b10efb3f32b (diff)
Merge upstream main into PR #1528
Diffstat (limited to 'docs/gameinput.md')
-rw-r--r--docs/gameinput.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/gameinput.md b/docs/gameinput.md
index cd151d28e..04e9c6687 100644
--- a/docs/gameinput.md
+++ b/docs/gameinput.md
@@ -166,7 +166,9 @@ sensor, about a pixel at Windows' default pointer speed without acceleration, so
166 166
167With raw input on and a window of this process in the foreground, the cursor is kept inside that window's client 167With raw input on and a window of this process in the foreground, the cursor is kept inside that window's client
168area (`ClipCursor`, re-applied every 100 ms) so that a click cannot land on another window; it is released when focus 168area (`ClipCursor`, re-applied every 100 ms) so that a click cannot land on another window; it is released when focus
169moves away or the keyboard pad is turned off. The cursor stays visible: hiding it has to happen on the thread that 169moves away or the keyboard pad is turned off. It is also released while the window is moved or sized, while a
170menu loop runs, and while a mouse press that began outside the client area (on the title bar or a border) is held, so
171the window can still be dragged; it comes back once the button is released. The cursor stays visible: hiding it has to happen on the thread that
170owns the game's window, which is the title's, not the shim's. 172owns the game's window, which is the title's, not the shim's.
171 173
172Keys are read with `GetAsyncKeyState`, which needs no window or message loop (SDL's keyboard is part of its video 174Keys are read with `GetAsyncKeyState`, which needs no window or message loop (SDL's keyboard is part of its video