hid-lg.c (a02001086bbfb4da35d1228bebc2f1b442db455f) | hid-lg.c (a54dc7795efceb9a458457540c69450c995a2772) |
---|---|
1/* 2 * HID driver for some logitech "special" devices 3 * 4 * Copyright (c) 1999 Andreas Gal 5 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> 6 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc 7 * Copyright (c) 2006-2007 Jiri Kosina 8 * Copyright (c) 2008 Jiri Slaby --- 13 unchanged lines hidden (view full) --- 22#include <linux/random.h> 23#include <linux/sched.h> 24#include <linux/usb.h> 25#include <linux/wait.h> 26 27#include "usbhid/usbhid.h" 28#include "hid-ids.h" 29#include "hid-lg.h" | 1/* 2 * HID driver for some logitech "special" devices 3 * 4 * Copyright (c) 1999 Andreas Gal 5 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> 6 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc 7 * Copyright (c) 2006-2007 Jiri Kosina 8 * Copyright (c) 2008 Jiri Slaby --- 13 unchanged lines hidden (view full) --- 22#include <linux/random.h> 23#include <linux/sched.h> 24#include <linux/usb.h> 25#include <linux/wait.h> 26 27#include "usbhid/usbhid.h" 28#include "hid-ids.h" 29#include "hid-lg.h" |
30#include "hid-lg4ff.h" |
|
30 31#define LG_RDESC 0x001 32#define LG_BAD_RELATIVE_KEYS 0x002 33#define LG_DUPLICATE_USAGES 0x004 34#define LG_EXPANDED_KEYMAP 0x010 35#define LG_IGNORE_DOUBLED_WHEEL 0x020 36#define LG_WIRELESS 0x040 37#define LG_INVERT_HWHEEL 0x080 --- 775 unchanged lines hidden (view full) --- 813 .input_mapping = lg_input_mapping, 814 .input_mapped = lg_input_mapped, 815 .event = lg_event, 816 .probe = lg_probe, 817 .remove = lg_remove, 818}; 819module_hid_driver(lg_driver); 820 | 31 32#define LG_RDESC 0x001 33#define LG_BAD_RELATIVE_KEYS 0x002 34#define LG_DUPLICATE_USAGES 0x004 35#define LG_EXPANDED_KEYMAP 0x010 36#define LG_IGNORE_DOUBLED_WHEEL 0x020 37#define LG_WIRELESS 0x040 38#define LG_INVERT_HWHEEL 0x080 --- 775 unchanged lines hidden (view full) --- 814 .input_mapping = lg_input_mapping, 815 .input_mapped = lg_input_mapped, 816 .event = lg_event, 817 .probe = lg_probe, 818 .remove = lg_remove, 819}; 820module_hid_driver(lg_driver); 821 |
822#ifdef CONFIG_LOGIWHEELS_FF 823int lg4ff_no_autoswitch = 0; 824module_param_named(lg4ff_no_autoswitch, lg4ff_no_autoswitch, int, S_IRUGO); 825MODULE_PARM_DESC(lg4ff_no_autoswitch, "Do not switch multimode wheels to their native mode automatically"); 826#endif 827 |
|
821MODULE_LICENSE("GPL"); | 828MODULE_LICENSE("GPL"); |