Scroll to navigation

INPUT_REGISTER_DEVIC(9) Input Subsystem INPUT_REGISTER_DEVIC(9)

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.

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.