---
name: "ujoy"
section: "4"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/ujoy"
---

# ujoy(4)

USB joystick/gamecontroller

## NAME

**ujoy** – USB joystick/gamecontroller

## SYNOPSIS

**ujoy\* at uhidev?**

## DESCRIPTION

The **ujoy** driver provides support for USB joysticks and other gamecontrollers. They are Human Interface Devices (HID) which can be accessed via the */dev/ujoy/N* interface.

The driver is compatible with [read(2)](/read/2.md), and a subset of [ioctl(2)](/ioctl/2.md) operations of the generic [uhid(4)](/uhid/4.md) device.

## FILES

- */dev/ujoy/\**

  ## SEE ALSO

[uhid(4)](/uhid/4.md), [uhidev(4)](/uhidev/4.md), [usb(4)](/usb/4.md)

## HISTORY

The **ujoy** driver first appeared in OpenBSD 6.9.
