Skip to main content

SDL_HINT_HIDAPI_LIBUSB_GAMECUBE

Constant SDL_HINT_HIDAPI_LIBUSB_GAMECUBE 

Source
pub const SDL_HINT_HIDAPI_LIBUSB_GAMECUBE: *const c_char = _; // {alloc8479<imm>: *const i8}
Expand description

A variable to control whether HIDAPI uses libusb for GameCube adapters.

The variable can be set to the following values:

  • “0”: HIDAPI will not use libusb for GameCube adapters.
  • “1”: HIDAPI will use libusb for GameCube adapters if available. (default)

This hint should be set before SDL is initialized.

§Availability

This hint is available since SDL 3.4.0.