Lines Matching +full:push +full:- +full:button
1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include "hid-ids.h"
29 0x15, 0x80, /* Logical Minimum (-128), */
56 0xA4, /* Push, */
58 0x55, 0xFD, /* Unit Exponent (-3), */
87 0x15, 0x80, /* Logical Minimum (-128), */
114 0xA4, /* Push, */
116 0x55, 0xFD, /* Unit Exponent (-3), */
140 0xA4, /* Push, */
141 0x05, 0x09, /* Usage Page (Button), */
152 0xA4, /* Push, */
153 0x55, 0xFD, /* Unit Exponent (-3), */
168 0x15, 0xFF, /* Logical Minimum (-1), */
186 0x15, 0x80, /* Logical Minimum (-128), */
213 0xA4, /* Push, */
215 0x55, 0xFD, /* Unit Exponent (-3), */
239 0xA4, /* Push, */
240 0x05, 0x09, /* Usage Page (Button), */
251 0xA4, /* Push, */
252 0x55, 0xFD, /* Unit Exponent (-3), */
267 0x15, 0xFF, /* Logical Minimum (-1), */
285 0x15, 0x80, /* Logical Minimum (-128), */
312 0xA4, /* Push, */
314 0x55, 0xFD, /* Unit Exponent (-3), */
364 0x15, 0x81, /* Logical Minimum (-127), */
391 0xA4, /* Push, */
393 0x55, 0xFD, /* Unit Exponent (-3), */
418 0x05, 0x09, /* Usage Page (Button), */
433 0xA4, /* Push, */
437 0x55, 0xFD, /* Unit Exponent (-3), */
452 0x15, 0xFF, /* Logical Minimum (-1), */
493 0x15, 0x80, /* Logical Minimum (-128), */
520 0xA4, /* Push, */
522 0x55, 0xFD, /* Unit Exponent (-3), */
561 * - change Usage Maximum in the Consumer Control in kye_consumer_control_fixup()
580 switch (hdev->product) { in kye_report_fixup()
583 * - change led usage page to button for extra buttons in kye_report_fixup()
584 * - report size 8 count 1 must be size 1 count 8 for button in kye_report_fixup()
586 * - change the button usage range to 4-7 for the extra in kye_report_fixup()
658 * Enable fully-functional tablet mode by setting a special feature report.
672 list = &hdev->report_enum[HID_FEATURE_REPORT].report_list; in kye_tablet_enable()
675 if (report->id == 5) in kye_tablet_enable()
680 hid_err(hdev, "tablet-enabling feature report not found\n"); in kye_tablet_enable()
681 return -ENODEV; in kye_tablet_enable()
684 if (report->maxfield < 1 || report->field[0]->report_count < 7) { in kye_tablet_enable()
685 hid_err(hdev, "invalid tablet-enabling feature report\n"); in kye_tablet_enable()
686 return -ENODEV; in kye_tablet_enable()
689 value = report->field[0]->value; in kye_tablet_enable()
719 switch (id->product) { in kye_probe()