SDL_HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL(3)

SDL_HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL3

A variable controlling the update rate of the ps4 controller over bluetooth when using the hidapi driver.

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL SDL_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL"

Header file

Defined in SDL3/SDL_hints.h

Overview

This defaults to 4 ms, to match the behavior over USB, and to be more friendly to other Bluetooth devices and older Bluetooth hardware on the computer. It can be set to "1" (1000Hz), "2" (500Hz) and "4" (250Hz)

This hint can be set anytime, but only takes effect when extended input reports are enabled.

Availability

This hint is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.