---
name: "input_register_polled_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_register_polled_device"
---

# input\_register\_polled\_device(9)

register polled device

## NAME

input\_register\_polled\_device - register polled device

## SYNOPSIS

**int input\_register\_polled\_device(struct input\_polled\_dev \*** *dev***);**

## ARGUMENTS

*dev*

device to register

## DESCRIPTION

The function registers previously initialized polled input device with input layer. The device should be allocated with call to **input\_allocate\_polled\_device**. Callers should also set up **poll** method and set up capabilities (id, name, phys, bits) of the corresponding input\_dev structure.

## COPYRIGHT
