---
name: "SDL_hid_bus_type"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_hid_bus_type"
---

# SDL\_hid\_bus\_type(3type)

HID underlying bus types.

## NAME

SDL\_hid\_bus\_type - HID underlying bus types.

## HEADER FILE

Defined in SDL3/SDL\_hidapi.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_hid\_bus\_type {**     **/\*\* Unknown bus type \*/**     **SDL\_HID\_API\_BUS\_UNKNOWN = 0x00,**     **/\*\* USB bus**        **Specifications:**        **https://usb.org/hid \*/**     **SDL\_HID\_API\_BUS\_USB = 0x01,**     **/\*\* Bluetooth or Bluetooth LE bus**        **Specifications:**        **https://www.bluetooth.com/specifications/specs/human-interface-device-profile-1-1-1/**        **https://www.bluetooth.com/specifications/specs/hid-service-1-0/**        **https://www.bluetooth.com/specifications/specs/hid-over-gatt-profile-1-0/ \*/**     **SDL\_HID\_API\_BUS\_BLUETOOTH = 0x02,**     **/\*\* I2C bus**        **Specifications:**        **https://docs.microsoft.com/previous-versions/windows/hardware/design/dn642101(v=vs.85) \*/**     **SDL\_HID\_API\_BUS\_I2C = 0x03,**     **/\*\* SPI bus**        **Specifications:**        **https://www.microsoft.com/download/details.aspx?id=103325 \*/**     **SDL\_HID\_API\_BUS\_SPI = 0x04** **} SDL\_hid\_bus\_type;**

## AVAILABILITY

This enum is available since SDL 3.2.0.
