summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-mosart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-mosart.c')
-rw-r--r--drivers/hid/hid-mosart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-mosart.c b/drivers/hid/hid-mosart.c
index 251eaa4eedb3..eec4c4ad9138 100644
--- a/drivers/hid/hid-mosart.c
+++ b/drivers/hid/hid-mosart.c
@@ -90,6 +90,10 @@ static int mosart_input_mapping(struct hid_device *hdev, struct hid_input *hi,
case 0xff000000:
/* ignore HID features */
return -1;
+
+ case HID_UP_BUTTON:
+ /* ignore buttons */
+ return -1;
}
return 0;