@@ -2167,6 +2167,28 @@ const
21672167 }
21682168 SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES = ' SDL_JOYSTICK_ZERO_CENTERED_DEVICES' ;
21692169
2170+ {**
2171+ * A variable containing a list of devices and their desired number of haptic
2172+ * (force feedback) enabled axis.
2173+ *
2174+ * The format of the string is a comma separated list of USB VID/PID pairs in
2175+ * hexadecimal form plus the number of desired axes, e.g .
2176+ *
2177+ * `0xAAAA /0xBBBB /1 ,0xCCCC /0xDDDD /3 `
2178+ *
2179+ * This hint supports a " wildcard" device that will set the number of haptic
2180+ * axes on all initialized haptic devices which were not defined explicitly in
2181+ * this hint.
2182+ *
2183+ * `0xFFFF /0xFFFF /1 `
2184+ *
2185+ * This hint should be set before a controller is opened. The number of haptic
2186+ * axes won' t exceed the number of real axes found on the device.
2187+ *
2188+ * \s ince This hint is available since SDL 3.2.5.
2189+ *}
2190+ SDL_HINT_JOYSTICK_HAPTIC_AXES = ' SDL_JOYSTICK_HAPTIC_AXES' ;
2191+
21702192{*
21712193 * A variable that controls keycode representation in keyboard events.
21722194 *
@@ -3561,6 +3583,22 @@ const
35613583 }
35623584 SDL_HINT_VIDEO_WIN_D3DCOMPILER = ' SDL_VIDEO_WIN_D3DCOMPILER' ;
35633585
3586+ {**
3587+ * A variable controlling whether SDL should call XSelectInput () to enable
3588+ * input events on X11 windows wrapped by SDL windows.
3589+ *
3590+ * The variable can be set to the following values:
3591+ *
3592+ * - " 0" : Don' t call XSelectInput(), assuming the native window code has done
3593+ * it already.
3594+ * - "1": Call XSelectInput() to enable input events. (default)
3595+ *
3596+ * This hint should be set before creating a window.
3597+ *
3598+ * \s ince This hint is available since SDL 3.2.10.
3599+ *}
3600+ SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT = ' SDL_VIDEO_X11_EXTERNAL_WINDOW_INPUT' ;
3601+
35643602{*
35653603 * A variable controlling whether the X11 _NET_WM_BYPASS_COMPOSITOR hint
35663604 * should be used.
0 commit comments