Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hid-lg.c File Reference
#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include "hid-ids.h"
#include "hid-lg.h"

Go to the source code of this file.

Macros

#define LG_RDESC   0x001
 
#define LG_BAD_RELATIVE_KEYS   0x002
 
#define LG_DUPLICATE_USAGES   0x004
 
#define LG_EXPANDED_KEYMAP   0x010
 
#define LG_IGNORE_DOUBLED_WHEEL   0x020
 
#define LG_WIRELESS   0x040
 
#define LG_INVERT_HWHEEL   0x080
 
#define LG_NOGET   0x100
 
#define LG_FF   0x200
 
#define LG_FF2   0x400
 
#define LG_RDESC_REL_ABS   0x800
 
#define LG_FF3   0x1000
 
#define LG_FF4   0x2000
 
#define DFP_RDESC_ORIG_SIZE   97
 
#define lg_map_key_clear(c)
 

Functions

 MODULE_DEVICE_TABLE (hid, lg_devices)
 
 module_init (lg_init)
 
 module_exit (lg_exit)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DFP_RDESC_ORIG_SIZE   97

Definition at line 44 of file hid-lg.c.

#define LG_BAD_RELATIVE_KEYS   0x002

Definition at line 30 of file hid-lg.c.

#define LG_DUPLICATE_USAGES   0x004

Definition at line 31 of file hid-lg.c.

#define LG_EXPANDED_KEYMAP   0x010

Definition at line 32 of file hid-lg.c.

#define LG_FF   0x200

Definition at line 37 of file hid-lg.c.

#define LG_FF2   0x400

Definition at line 38 of file hid-lg.c.

#define LG_FF3   0x1000

Definition at line 40 of file hid-lg.c.

#define LG_FF4   0x2000

Definition at line 41 of file hid-lg.c.

#define LG_IGNORE_DOUBLED_WHEEL   0x020

Definition at line 33 of file hid-lg.c.

#define LG_INVERT_HWHEEL   0x080

Definition at line 35 of file hid-lg.c.

#define lg_map_key_clear (   c)
Value:
hid_map_usage_clear(hi, usage, bit, max, \
EV_KEY, (c))

Definition at line 151 of file hid-lg.c.

#define LG_NOGET   0x100

Definition at line 36 of file hid-lg.c.

#define LG_RDESC   0x001

Definition at line 29 of file hid-lg.c.

#define LG_RDESC_REL_ABS   0x800

Definition at line 39 of file hid-lg.c.

#define LG_WIRELESS   0x040

Definition at line 34 of file hid-lg.c.

Function Documentation

MODULE_DEVICE_TABLE ( hid  ,
lg_devices   
)
module_exit ( lg_exit  )
module_init ( lg_init  )
MODULE_LICENSE ( "GPL"  )