|  | 
| 21 | 21 | /* Fixed WP4030U report descriptor */ | 
| 22 | 22 | __u8 uclogic_rdesc_wp4030u_fixed_arr[] = { | 
| 23 | 23 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 24 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 24 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 25 | 25 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 26 | 26 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 27 | 27 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -66,7 +66,7 @@ const size_t uclogic_rdesc_wp4030u_fixed_size = | 
| 66 | 66 | /* Fixed WP5540U report descriptor */ | 
| 67 | 67 | __u8 uclogic_rdesc_wp5540u_fixed_arr[] = { | 
| 68 | 68 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 69 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 69 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 70 | 70 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 71 | 71 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 72 | 72 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -143,7 +143,7 @@ const size_t uclogic_rdesc_wp5540u_fixed_size = | 
| 143 | 143 | /* Fixed WP8060U report descriptor */ | 
| 144 | 144 | __u8 uclogic_rdesc_wp8060u_fixed_arr[] = { | 
| 145 | 145 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 146 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 146 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 147 | 147 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 148 | 148 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 149 | 149 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -220,7 +220,7 @@ const size_t uclogic_rdesc_wp8060u_fixed_size = | 
| 220 | 220 | /* Fixed WP1062 report descriptor */ | 
| 221 | 221 | __u8 uclogic_rdesc_wp1062_fixed_arr[] = { | 
| 222 | 222 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 223 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 223 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 224 | 224 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 225 | 225 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 226 | 226 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -268,7 +268,7 @@ const size_t uclogic_rdesc_wp1062_fixed_size = | 
| 268 | 268 | /* Fixed PF1209 report descriptor */ | 
| 269 | 269 | __u8 uclogic_rdesc_pf1209_fixed_arr[] = { | 
| 270 | 270 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 271 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 271 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 272 | 272 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 273 | 273 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 274 | 274 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -345,7 +345,7 @@ const size_t uclogic_rdesc_pf1209_fixed_size = | 
| 345 | 345 | /* Fixed PID 0522 tablet report descriptor, interface 0 (stylus) */ | 
| 346 | 346 | __u8 uclogic_rdesc_twhl850_fixed0_arr[] = { | 
| 347 | 347 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 348 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 348 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 349 | 349 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 350 | 350 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 351 | 351 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -457,7 +457,7 @@ const size_t uclogic_rdesc_twhl850_fixed2_size = | 
| 457 | 457 | /* Fixed TWHA60 report descriptor, interface 0 (stylus) */ | 
| 458 | 458 | __u8 uclogic_rdesc_twha60_fixed0_arr[] = { | 
| 459 | 459 | 	0x05, 0x0D,         /*  Usage Page (Digitizer),             */ | 
| 460 |  | -	0x09, 0x02,         /*  Usage (Pen),                        */ | 
|  | 460 | +	0x09, 0x01,         /*  Usage (Digitizer),                  */ | 
| 461 | 461 | 	0xA1, 0x01,         /*  Collection (Application),           */ | 
| 462 | 462 | 	0x85, 0x09,         /*      Report ID (9),                  */ | 
| 463 | 463 | 	0x09, 0x20,         /*      Usage (Stylus),                 */ | 
| @@ -534,7 +534,7 @@ const size_t uclogic_rdesc_twha60_fixed1_size = | 
| 534 | 534 | /* Fixed report descriptor template for (tweaked) v1 pen reports */ | 
| 535 | 535 | const __u8 uclogic_rdesc_v1_pen_template_arr[] = { | 
| 536 | 536 | 	0x05, 0x0D,             /*  Usage Page (Digitizer),                 */ | 
| 537 |  | -	0x09, 0x02,             /*  Usage (Pen),                            */ | 
|  | 537 | +	0x09, 0x01,             /*  Usage (Digitizer),                      */ | 
| 538 | 538 | 	0xA1, 0x01,             /*  Collection (Application),               */ | 
| 539 | 539 | 	0x85, 0x07,             /*      Report ID (7),                      */ | 
| 540 | 540 | 	0x09, 0x20,             /*      Usage (Stylus),                     */ | 
| @@ -588,7 +588,7 @@ const size_t uclogic_rdesc_v1_pen_template_size = | 
| 588 | 588 | /* Fixed report descriptor template for (tweaked) v2 pen reports */ | 
| 589 | 589 | const __u8 uclogic_rdesc_v2_pen_template_arr[] = { | 
| 590 | 590 | 	0x05, 0x0D,             /*  Usage Page (Digitizer),                 */ | 
| 591 |  | -	0x09, 0x02,             /*  Usage (Pen),                            */ | 
|  | 591 | +	0x09, 0x01,             /*  Usage (Digitizer),                      */ | 
| 592 | 592 | 	0xA1, 0x01,             /*  Collection (Application),               */ | 
| 593 | 593 | 	0x85, 0x08,             /*      Report ID (8),                      */ | 
| 594 | 594 | 	0x09, 0x20,             /*      Usage (Stylus),                     */ | 
|  | 
0 commit comments