input_reset_device(9)

input_reset_device9

Reset/restore the state of input device

Usage

void input_reset_device(struct input_dev * dev);

Arguments

dev

input device whose state needs to be reset

Overview

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.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.