Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wacom_wac.c File Reference
#include "wacom_wac.h"
#include "wacom.h"
#include <linux/input/mt.h>
#include <linux/hid.h>

Go to the source code of this file.

Macros

#define WACOM_PL_RES   20
 
#define WACOM_PENPRTN_RES   40
 
#define WACOM_VOLITO_RES   50
 
#define WACOM_GRAPHIRE_RES   80
 
#define WACOM_INTUOS_RES   100
 
#define WACOM_INTUOS3_RES   200
 
#define WACOM_CONTACT_AREA_SCALE   2607
 
#define USB_DEVICE_WACOM(prod)
 
#define USB_DEVICE_DETAILED(prod, class, sub, proto)
 
#define USB_DEVICE_LENOVO(prod)
 

Functions

void wacom_wac_irq (struct wacom_wac *wacom_wac, size_t len)
 
void wacom_setup_device_quirks (struct wacom_features *features)
 
int wacom_setup_input_capabilities (struct input_dev *input_dev, struct wacom_wac *wacom_wac)
 
 MODULE_DEVICE_TABLE (usb, wacom_ids)
 

Variables

struct usb_device_id wacom_ids []
 

Macro Definition Documentation

#define USB_DEVICE_DETAILED (   prod,
  class,
  sub,
  proto 
)
Value:
USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_WACOM, prod, class, \
sub, proto), \
.driver_info = (kernel_ulong_t)&wacom_features_##prod

Definition at line 2087 of file wacom_wac.c.

#define USB_DEVICE_LENOVO (   prod)
Value:
USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
.driver_info = (kernel_ulong_t)&wacom_features_##prod

Definition at line 2092 of file wacom_wac.c.

#define USB_DEVICE_WACOM (   prod)
Value:
USB_DEVICE(USB_VENDOR_ID_WACOM, prod), \
.driver_info = (kernel_ulong_t)&wacom_features_##prod

Definition at line 2083 of file wacom_wac.c.

#define WACOM_CONTACT_AREA_SCALE   2607

Definition at line 31 of file wacom_wac.c.

#define WACOM_GRAPHIRE_RES   80

Definition at line 24 of file wacom_wac.c.

#define WACOM_INTUOS3_RES   200

Definition at line 26 of file wacom_wac.c.

#define WACOM_INTUOS_RES   100

Definition at line 25 of file wacom_wac.c.

#define WACOM_PENPRTN_RES   40

Definition at line 22 of file wacom_wac.c.

#define WACOM_PL_RES   20

Definition at line 21 of file wacom_wac.c.

#define WACOM_VOLITO_RES   50

Definition at line 23 of file wacom_wac.c.

Function Documentation

MODULE_DEVICE_TABLE ( usb  ,
wacom_ids   
)
void wacom_setup_device_quirks ( struct wacom_features features)

Definition at line 1400 of file wacom_wac.c.

int wacom_setup_input_capabilities ( struct input_dev *  input_dev,
struct wacom_wac wacom_wac 
)

Definition at line 1443 of file wacom_wac.c.

void wacom_wac_irq ( struct wacom_wac wacom_wac,
size_t  len 
)

Definition at line 1280 of file wacom_wac.c.

Variable Documentation

struct usb_device_id wacom_ids[]

Definition at line 2096 of file wacom_wac.c.