---
name: "input_reset_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_reset_device"
---

# input\_reset\_device(9)

reset/restore the state of input device

## NAME

input\_reset\_device - reset/restore the state of input device

## SYNOPSIS

**void input\_reset\_device(struct input\_dev \*** *dev***);**

## ARGUMENTS

*dev*

input device whose state needs to be reset

## DESCRIPTION

This function tries to reset the state of an opened input device and bring internal state and state if the hardware in sync with each other. We mark all keys as released, restore LED state, repeat rate, etc.

## COPYRIGHT
