---
name: "input-events"
section: "8"
platform: "linux"
package: "input-utils"
version: "1.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/input-events"
---

# input-events(8)

print input events

## NAME

input-events - print input events

## SYNOPSIS

**input-events**  \[**-t** *sec*\] \[**-g**\] *devnr*

## DESCRIPTION

**input-events** listens for events on kernel input device *devnr* and prints them.

## OPTIONS

- *devnr*

  The index of the input device to use (0 for /dev/input/event0 and so on).

- **-g**

  Grab device using EVIOCGRAB, i.e., get exclusive access to the device.

- **-t** *sec*

  Set the timeout. The program will quit after *sec* seconds without activity.

## SEE ALSO

[lsinput(8)](/lsinput/8.md)

## AUTHOR

Gerd Hoffmann \<kraxel@redhat.com\>
