#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb/input.h>
#include <asm/uaccess.h>
#include <asm/unaligned.h>
Go to the source code of this file.
#define AIPTEK_COORDINATE_ABSOLUTE_MODE 1 |
#define AIPTEK_COORDINATE_RELATIVE_MODE 0 |
#define AIPTEK_DIAGNOSTIC_NA 0 |
#define AIPTEK_DIAGNOSTIC_SENDING_ABSOLUTE_IN_RELATIVE 2 |
#define AIPTEK_DIAGNOSTIC_SENDING_RELATIVE_IN_ABSOLUTE 1 |
#define AIPTEK_DIAGNOSTIC_TOOL_DISALLOWED 3 |
#define AIPTEK_INVALID_VALUE -1 |
#define AIPTEK_JITTER_DELAY_DEFAULT 50 |
#define AIPTEK_MOUSE_LEFT_BUTTON 0x04 |
#define AIPTEK_MOUSE_MIDDLE_BUTTON 0x10 |
#define AIPTEK_MOUSE_RIGHT_BUTTON 0x08 |
#define AIPTEK_PACKET_LENGTH 8 |
#define AIPTEK_POINTER_ALLOW_MOUSE_MODE |
( |
|
a | ) |
|
#define AIPTEK_POINTER_ALLOW_STYLUS_MODE |
( |
|
a | ) |
|
#define AIPTEK_POINTER_EITHER_MODE 2 |
#define AIPTEK_POINTER_ONLY_MOUSE_MODE 0 |
#define AIPTEK_POINTER_ONLY_STYLUS_MODE 1 |
#define AIPTEK_PROGRAMMABLE_DELAY_100 100 |
#define AIPTEK_PROGRAMMABLE_DELAY_200 200 |
#define AIPTEK_PROGRAMMABLE_DELAY_25 25 |
#define AIPTEK_PROGRAMMABLE_DELAY_300 300 |
#define AIPTEK_PROGRAMMABLE_DELAY_400 400 |
#define AIPTEK_PROGRAMMABLE_DELAY_50 50 |
#define AIPTEK_REPORT_TOOL_MOUSE 0x40 |
#define AIPTEK_REPORT_TOOL_STYLUS 0x20 |
#define AIPTEK_REPORT_TOOL_UNKNOWN 0x10 |
#define AIPTEK_STYLUS_LOWER_BUTTON 0x08 |
#define AIPTEK_STYLUS_UPPER_BUTTON 0x10 |
#define AIPTEK_TILT_DISABLE (-10101) |
#define AIPTEK_TILT_MAX 127 |
#define AIPTEK_TILT_MIN (-128) |
#define AIPTEK_WHEEL_DISABLE (-10101) |
#define AIPTEK_WHEEL_MAX 1024 |
#define AIPTEK_WHEEL_MIN 0 |
#define DRIVER_AUTHOR "Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen" |
#define DRIVER_DESC "Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)" |
#define DRIVER_VERSION "v2.3 (May 2, 2007)" |
#define USB_REQ_GET_REPORT 0x01 |
#define USB_REQ_SET_REPORT 0x09 |
#define USB_VENDOR_ID_AIPTEK 0x08ca |
#define USB_VENDOR_ID_KYE 0x0458 |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
aiptek_ids |
|
|
) |
| |
module_param |
( |
programmableDelay |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
jitterDelay |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
programmableDelay |
, |
|
|
"delay used during tablet programming" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
jitterDelay |
, |
|
|
"stylus/mouse settlement delay" |
|
|
) |
| |
module_usb_driver |
( |
aiptek_driver |
| ) |
|