---
name: "input_grab_device"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_grab_device"
---

# input\_grab\_device(9)

grabs device for exclusive use

## NAME

input\_grab\_device - grabs device for exclusive use

## SYNOPSIS

**int input\_grab\_device(struct input\_handle \*** *handle***);**

## ARGUMENTS

*handle*

input handle that wants to own the device

## DESCRIPTION

When a device is grabbed by an input handle all events generated by the device are delivered only to this handle. Also events injected by other input handles are ignored while device is grabbed.

## COPYRIGHT
