Engine, adapter and tools without game data
This commit is contained in:
commit
e2ede736f3
3500 changed files with 1640229 additions and 0 deletions
11
engine/third_party/SDL3/examples/input/03-gamepad-polling/README.txt
vendored
Normal file
11
engine/third_party/SDL3/examples/input/03-gamepad-polling/README.txt
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
This example code looks for the current gamepad state once per frame,
|
||||
and draws a visual representation of it. See 01-joystick-polling for the
|
||||
equivalent example code for the lower-level joystick API.
|
||||
|
||||
Please note that on the web, gamepads don't show up until you interact with
|
||||
them, so press a button to "connect" the controller.
|
||||
|
||||
Also note that on the web, gamepad triggers are treated as buttons (either
|
||||
pressed or not) instead of axes (pressed 0 to 100 percent). This is a web
|
||||
issue, not an SDL limitation.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue