Constants¶
Namespace:
CtrlDS4
DEFAULT_DEBOUNCE_MS¶
Default debounce time of the bound buttons, in milliseconds: longer than the bounces of most buttons (see Controller::setDebounceTime()).
DEFAULT_REPORT_INTERVAL_MS¶
Default time between two input reports sent to the host, in milliseconds: the rate of a real DS4 over USB (see Controller::setReportInterval()).
STICK_MIN¶
Value of a stick axis pushed fully left (X) or up (Y).
STICK_CENTER¶
Value of a stick axis at rest.
STICK_MAX¶
Value of a stick axis pushed fully right (X) or down (Y).
ANALOG_READ_MAX¶
Highest value returned by analogRead() at its default resolution (10 bits).
TRIGGER_MIN¶
Value of a released trigger.
TRIGGER_MAX¶
Value of a fully pressed trigger.
MAC_ADDRESS_SIZE¶
Number of bytes of a MAC address.