From cfa31df2d5e4b76648896d3a50b49bd254054143 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 7 Sep 2025 11:28:47 -0400 Subject: [PATCH] examples/input/03-gamepad-polling: Added some README notes about the web. --- examples/input/03-gamepad-polling/README.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/input/03-gamepad-polling/README.txt b/examples/input/03-gamepad-polling/README.txt index 3d5fad4707..d7e68b948b 100644 --- a/examples/input/03-gamepad-polling/README.txt +++ b/examples/input/03-gamepad-polling/README.txt @@ -1,3 +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. \ No newline at end of file +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. +