README.txt 512 B

1234567891011
  1. This example code looks for the current gamepad state once per frame,
  2. and draws a visual representation of it. See 01-joystick-polling for the
  3. equivalent example code for the lower-level joystick API.
  4. Please note that on the web, gamepads don't show up until you interact with
  5. them, so press a button to "connect" the controller.
  6. Also note that on the web, gamepad triggers are treated as buttons (either
  7. pressed or not) instead of axes (pressed 0 to 100 percent). This is a web
  8. issue, not an SDL limitation.