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

Go to the source code of this file.

Data Structures

struct  hanwang
 
struct  hanwang_features
 

Macros

#define DRIVER_AUTHOR   "Xing Wei <[email protected]>"
 
#define DRIVER_DESC   "USB Hanwang tablet driver"
 
#define DRIVER_LICENSE   "GPL"
 
#define USB_VENDOR_ID_HANWANG   0x0b57
 
#define HANWANG_TABLET_INT_CLASS   0x0003
 
#define HANWANG_TABLET_INT_SUB_CLASS   0x0001
 
#define HANWANG_TABLET_INT_PROTOCOL   0x0002
 
#define ART_MASTER_PKGLEN_MAX   10
 
#define STYLUS_DEVICE_ID   0x02
 
#define TOUCH_DEVICE_ID   0x03
 
#define CURSOR_DEVICE_ID   0x06
 
#define ERASER_DEVICE_ID   0x0A
 
#define PAD_DEVICE_ID   0x0F
 
#define HANWANG_TABLET_DEVICE(vend, cl, sc, pr)
 

Enumerations

enum  hanwang_tablet_type { HANWANG_ART_MASTER_III, HANWANG_ART_MASTER_HD, HANWANG_ART_MASTER_II }
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE (DRIVER_LICENSE)
 
 MODULE_DEVICE_TABLE (usb, hanwang_ids)
 
 module_usb_driver (hanwang_driver)
 

Variables

enum hanwang_tablet_type __attribute__
 

Macro Definition Documentation

#define ART_MASTER_PKGLEN_MAX   10

Definition at line 45 of file hanwang.c.

#define CURSOR_DEVICE_ID   0x06

Definition at line 50 of file hanwang.c.

#define DRIVER_AUTHOR   "Xing Wei <[email protected]>"

Definition at line 32 of file hanwang.c.

#define DRIVER_DESC   "USB Hanwang tablet driver"

Definition at line 33 of file hanwang.c.

#define DRIVER_LICENSE   "GPL"

Definition at line 34 of file hanwang.c.

#define ERASER_DEVICE_ID   0x0A

Definition at line 51 of file hanwang.c.

#define HANWANG_TABLET_DEVICE (   vend,
  cl,
  sc,
  pr 
)
Value:
| USB_DEVICE_ID_MATCH_INT_INFO, \
.idVendor = (vend), \
.bInterfaceSubClass = (sc), \

Definition at line 55 of file hanwang.c.

#define HANWANG_TABLET_INT_CLASS   0x0003

Definition at line 41 of file hanwang.c.

#define HANWANG_TABLET_INT_PROTOCOL   0x0002

Definition at line 43 of file hanwang.c.

#define HANWANG_TABLET_INT_SUB_CLASS   0x0001

Definition at line 42 of file hanwang.c.

#define PAD_DEVICE_ID   0x0F

Definition at line 52 of file hanwang.c.

#define STYLUS_DEVICE_ID   0x02

Definition at line 48 of file hanwang.c.

#define TOUCH_DEVICE_ID   0x03

Definition at line 49 of file hanwang.c.

#define USB_VENDOR_ID_HANWANG   0x0b57

Definition at line 40 of file hanwang.c.

Enumeration Type Documentation

Enumerator:
HANWANG_ART_MASTER_III 
HANWANG_ART_MASTER_HD 
HANWANG_ART_MASTER_II 

Definition at line 63 of file hanwang.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
hanwang_ids   
)
MODULE_LICENSE ( DRIVER_LICENSE  )
module_usb_driver ( hanwang_driver  )

Variable Documentation