Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
kbtab.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb/input.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Data Structures

struct  kbtab
 

Macros

#define DRIVER_VERSION   "v0.0.2"
 
#define DRIVER_AUTHOR   "Josh Myer <[email protected]>"
 
#define DRIVER_DESC   "USB KB Gear JamStudio Tablet driver"
 
#define DRIVER_LICENSE   "GPL"
 
#define USB_VENDOR_ID_KBGEAR   0x084e
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE (DRIVER_LICENSE)
 
 module_param (kb_pressure_click, int, 0)
 
 MODULE_PARM_DESC (kb_pressure_click,"pressure threshold for clicks")
 
 MODULE_DEVICE_TABLE (usb, kbtab_ids)
 
 module_usb_driver (kbtab_driver)
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Josh Myer <[email protected]>"

Definition at line 17 of file kbtab.c.

#define DRIVER_DESC   "USB KB Gear JamStudio Tablet driver"

Definition at line 18 of file kbtab.c.

#define DRIVER_LICENSE   "GPL"

Definition at line 19 of file kbtab.c.

#define DRIVER_VERSION   "v0.0.2"

Definition at line 16 of file kbtab.c.

#define USB_VENDOR_ID_KBGEAR   0x084e

Definition at line 25 of file kbtab.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
kbtab_ids   
)
MODULE_LICENSE ( DRIVER_LICENSE  )
module_param ( kb_pressure_click  ,
int  ,
 
)
MODULE_PARM_DESC ( kb_pressure_click  ,
"pressure threshold for clicks"   
)
module_usb_driver ( kbtab_driver  )