#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <asm/uaccess.h>
#include <asm/unaligned.h>
#include <asm/byteorder.h>
#include <linux/usb/input.h>
Go to the source code of this file.
| #define DIGITIZER_USAGE_TILT_X 0x3D |
| #define DIGITIZER_USAGE_TILT_Y 0x3E |
| #define DIGITIZER_USAGE_TIP_PRESSURE 0x30 |
| #define GTCO_VERSION "2.00.0006" |
| #define HID_DESCRIPTOR_SIZE 9 |
| #define HID_DEVICE_TYPE 33 |
| #define MASK_BUTTON 0x01F |
| #define MASK_INRANGE 0x20 |
| #define PREF_SIZE |
( |
|
x | ) |
((x)&0x03) |
| #define PREF_TAG |
( |
|
x | ) |
((x)>>4) |
| #define PREF_TYPE |
( |
|
x | ) |
((x>>2)&0x03) |
| #define REPORT_DEVICE_TYPE 34 |
| #define REPORT_MAX_SIZE 10 |
| #define TAG_GLOB_LOG_MAX 2 |
| #define TAG_GLOB_LOG_MIN 1 |
| #define TAG_GLOB_PHYS_MAX 4 |
| #define TAG_GLOB_PHYS_MIN 3 |
| #define TAG_GLOB_REPORT_CNT 9 |
| #define TAG_GLOB_REPORT_ID 8 |
| #define TAG_GLOB_REPORT_SZ 7 |
| #define TAG_GLOB_UNIT_EXP 5 |
| #define TAG_MAIN_COL_END 0xC |
| #define TAG_MAIN_COL_START 0xA |
| #define TAG_MAIN_FEATURE 0xB |
| #define TAG_MAIN_INPUT 0x8 |
| #define TAG_MAIN_OUTPUT 0x9 |
| #define VENDOR_ID_GTCO 0x078C |
| MODULE_DESCRIPTION |
( |
"GTCO digitizer USB driver" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
gtco_usbid_table |
|
|
) |
| |
| module_usb_driver |
( |
gtco_driverinfo_table |
| ) |
|