Browse Source

include: Fixed wiki formatting that got mangled into the headers.

Ryan C. Gordon 2 years ago
parent
commit
9f8425a7a9
1 changed files with 6 additions and 2 deletions
  1. 6 2
      include/SDL3/SDL_gamepad.h

+ 6 - 2
include/SDL3/SDL_gamepad.h

@@ -162,8 +162,12 @@ typedef struct SDL_GamepadBinding
  * string value from SDL_GetJoystickGUIDString(), name is the human readable
  * string for the device and mappings are gamepad mappings to joystick ones.
  * Under Windows there is a reserved GUID of "xinput" that covers all XInput
- * devices. The mapping format for joystick is: {| |bX |a joystick button,
- * index X |- |hX.Y |hat X with value Y |- |aX |axis X of the joystick |}
+ * devices. The mapping format for joystick is:
+ *
+ * - `bX`: a joystick button, index X
+ * - `hX.Y`: hat X with value Y
+ * - `aX`: axis X of the joystick
+ *
  * Buttons can be used as a gamepad axes and vice versa.
  *
  * This string shows an example of a valid mapping for a gamepad: