14 #include <linux/device.h>
15 #include <linux/hid.h>
16 #include <linux/module.h>
29 #define WPXXXXU_RDESC_ORIG_SIZE 212
32 static __u8 wp4030u_rdesc_fixed[] = {
74 static __u8 wp5540u_rdesc_fixed[] = {
148 static __u8 wp8060u_rdesc_fixed[] = {
227 #define WP1062_RDESC_ORIG_SIZE 254
230 static __u8 wp1062_rdesc_fixed[] = {
280 #define PF1209_RDESC_ORIG_SIZE 234
283 static __u8 pf1209_rdesc_fixed[] = {
362 #define TWHL850_RDESC_ORIG_SIZE0 182
363 #define TWHL850_RDESC_ORIG_SIZE1 161
364 #define TWHL850_RDESC_ORIG_SIZE2 92
367 static __u8 twhl850_rdesc_fixed0[] = {
410 static __u8 twhl850_rdesc_fixed1[] = {
447 static __u8 twhl850_rdesc_fixed2[] = {
475 #define TWHA60_RDESC_ORIG_SIZE0 254
476 #define TWHA60_RDESC_ORIG_SIZE1 139
479 static __u8 twha60_rdesc_fixed0[] = {
525 static __u8 twha60_rdesc_fixed1[] = {
553 __u8 iface_num = iface->cur_altsetting->desc.bInterfaceNumber;
558 rdesc = pf1209_rdesc_fixed;
559 *rsize =
sizeof(pf1209_rdesc_fixed);
564 rdesc = wp4030u_rdesc_fixed;
565 *rsize =
sizeof(wp4030u_rdesc_fixed);
570 rdesc = wp5540u_rdesc_fixed;
571 *rsize =
sizeof(wp5540u_rdesc_fixed);
576 rdesc = wp8060u_rdesc_fixed;
577 *rsize =
sizeof(wp8060u_rdesc_fixed);
582 rdesc = wp1062_rdesc_fixed;
583 *rsize =
sizeof(wp1062_rdesc_fixed);
590 rdesc = twhl850_rdesc_fixed0;
591 *rsize =
sizeof(twhl850_rdesc_fixed0);
596 rdesc = twhl850_rdesc_fixed1;
597 *rsize =
sizeof(twhl850_rdesc_fixed1);
602 rdesc = twhl850_rdesc_fixed2;
603 *rsize =
sizeof(twhl850_rdesc_fixed2);
612 rdesc = twha60_rdesc_fixed0;
613 *rsize =
sizeof(twha60_rdesc_fixed0);
618 rdesc = twha60_rdesc_fixed1;
619 *rsize =
sizeof(twha60_rdesc_fixed1);
650 .id_table = uclogic_devices,
651 .report_fixup = uclogic_report_fixup,
654 static int __init uclogic_init(
void)
659 static void __exit uclogic_exit(
void)