hid-uclogic-rdesc.c (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) hid-uclogic-rdesc.c (1324c5ac76bf7dccdac0fb128d0a675e1ee21b39)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - original and fixed report descriptors
5 *
6 * Copyright (c) 2010-2017 Nikolai Kondrashov
7 * Copyright (c) 2013 Martin Rusko
8 */

--- 619 unchanged lines hidden (view full) ---

628 /* Physical Maximum (PLACEHOLDER), */
629 0x81, 0x02, /* Input (Variable), */
630 0xB4, /* Pop, */
631 0x09, 0x30, /* Usage (Tip Pressure), */
632 0x75, 0x10, /* Report Size (16), */
633 0x27, UCLOGIC_RDESC_PEN_PH(PRESSURE_LM),
634 /* Logical Maximum (PLACEHOLDER), */
635 0x81, 0x02, /* Input (Variable), */
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * HID driver for UC-Logic devices not fully compliant with HID standard
4 * - original and fixed report descriptors
5 *
6 * Copyright (c) 2010-2017 Nikolai Kondrashov
7 * Copyright (c) 2013 Martin Rusko
8 */

--- 619 unchanged lines hidden (view full) ---

628 /* Physical Maximum (PLACEHOLDER), */
629 0x81, 0x02, /* Input (Variable), */
630 0xB4, /* Pop, */
631 0x09, 0x30, /* Usage (Tip Pressure), */
632 0x75, 0x10, /* Report Size (16), */
633 0x27, UCLOGIC_RDESC_PEN_PH(PRESSURE_LM),
634 /* Logical Maximum (PLACEHOLDER), */
635 0x81, 0x02, /* Input (Variable), */
636 0x81, 0x03, /* Input (Constant, Variable), */
636 0x54, /* Unit Exponent (0), */
637 0x65, 0x14, /* Unit (Degrees), */
638 0x35, 0xC4, /* Physical Minimum (-60), */
639 0x45, 0x3C, /* Physical Maximum (60), */
640 0x15, 0xC4, /* Logical Minimum (-60), */
641 0x25, 0x3C, /* Logical Maximum (60), */
642 0x75, 0x08, /* Report Size (8), */
643 0x95, 0x02, /* Report Count (2), */
644 0x09, 0x3D, /* Usage (X Tilt), */
645 0x09, 0x3E, /* Usage (Y Tilt), */
646 0x81, 0x02, /* Input (Variable), */
637 0xC0, /* End Collection, */
638 0xC0 /* End Collection */
639};
640
641const size_t uclogic_rdesc_pen_v2_template_size =
642 sizeof(uclogic_rdesc_pen_v2_template_arr);
643
644/*

--- 218 unchanged lines hidden ---
647 0xC0, /* End Collection, */
648 0xC0 /* End Collection */
649};
650
651const size_t uclogic_rdesc_pen_v2_template_size =
652 sizeof(uclogic_rdesc_pen_v2_template_arr);
653
654/*

--- 218 unchanged lines hidden ---