input_register_device

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

input_register_device - register device with input core

SYNOPSIS

int input_register_device(struct input_dev * dev);

ARGUMENTS

dev

device to be registered

DESCRIPTION

This function registers device with input core. The device must be allocated with input_allocate_device and all it's capabilities set up before registering. If function fails the device must be freed with input_free_device. Once device has been successfully registered it can be unregistered with input_unregister_device; input_free_device should not be called in this case.