Add doc regarding buttons in struct rmi_data

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Set clickpad flag for the user space

if only one button is reported, we have a clickpad.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cleanup hid_driver declaration

changes name to hid-rmi to match actual module filename.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
If we receive a mouse report, switch the device back to rmi

This allows to save some power if nobody is reading the events.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Bail out if the device is not started at the end of probe

That means that something went wrong during the input configuration,
and we can bail out right now.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>