Skip to content
Commit 522214d9 authored by Benjamin Tissoires's avatar Benjamin Tissoires Committed by Linus Torvalds
Browse files

Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the button count



INPUT_PROP_BUTTONPAD is currently only set through the platform data.
The RMI4 header doc says that this property is there to force the
buttonpad property, so we also need to detect it by looking at
the exported buttons count.

Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Reported-and-tested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 044d5dfd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment