From 9f8425a7a9e7c6c64759cf4c7b7489b230d442c4 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sun, 26 Feb 2023 21:46:50 -0500
Subject: [PATCH] include: Fixed wiki formatting that got mangled into the
headers.
---
include/SDL3/SDL_gamepad.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/SDL3/SDL_gamepad.h b/include/SDL3/SDL_gamepad.h
index 9ec44f52c279..db87495dc2d1 100644
--- a/include/SDL3/SDL_gamepad.h
+++ b/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: