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

# SDL\_HINT\_EVDEV\_DEVICES(3)

A variable containing a list of evdev devices to use if udev is not available.

## NAME

SDL\_HINT\_EVDEV\_DEVICES - A variable containing a list of evdev devices to use if udev is not available.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

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

**#define SDL\_HINT\_EVDEV\_DEVICES** *SDL\_EVDEV\_DEVICES"*

## DESCRIPTION

The list of devices is in the form:

deviceclass:path\[,deviceclass:path\[,...\]\]

where device class is an integer representing the

**SDL\_UDEV\_deviceclass**\
  and path is the full path to the event device.

This hint should be set before SDL is initialized.

## AVAILABILITY

This hint is available since SDL 3.2.0.
