wacom_wac.h (70ee06c5f447b9d50747b29d3e8d48ae7ef1cabe) | wacom_wac.h (72b236d60218fe211a8e1210be31c31e81684b86) |
---|---|
1/* 2 * drivers/input/tablet/wacom_wac.h 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9#ifndef WACOM_WAC_H 10#define WACOM_WAC_H 11 12#include <linux/types.h> 13#include <linux/hid.h> 14 15/* maximum packet length for USB devices */ 16#define WACOM_PKGLEN_MAX 192 17 18#define WACOM_NAME_MAX 64 | 1/* 2 * drivers/input/tablet/wacom_wac.h 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 */ 9#ifndef WACOM_WAC_H 10#define WACOM_WAC_H 11 12#include <linux/types.h> 13#include <linux/hid.h> 14 15/* maximum packet length for USB devices */ 16#define WACOM_PKGLEN_MAX 192 17 18#define WACOM_NAME_MAX 64 |
19#define WACOM_MAX_REMOTES 5 20#define WACOM_STATUS_UNKNOWN 255 |
|
19 20/* packet length for individual models */ 21#define WACOM_PKGLEN_BBFUN 9 22#define WACOM_PKGLEN_TPC1FG 5 23#define WACOM_PKGLEN_TPC1FG_B 10 24#define WACOM_PKGLEN_TPC2FG 14 25#define WACOM_PKGLEN_BBTOUCH 20 26#define WACOM_PKGLEN_BBTOUCH3 64 --- 33 unchanged lines hidden (view full) --- 60#define WACOM_REPORT_TPCST 16 61#define WACOM_REPORT_DTUS 17 62#define WACOM_REPORT_TPC1FGE 18 63#define WACOM_REPORT_24HDT 1 64#define WACOM_REPORT_WL 128 65#define WACOM_REPORT_USB 192 66#define WACOM_REPORT_BPAD_PEN 3 67#define WACOM_REPORT_BPAD_TOUCH 16 | 21 22/* packet length for individual models */ 23#define WACOM_PKGLEN_BBFUN 9 24#define WACOM_PKGLEN_TPC1FG 5 25#define WACOM_PKGLEN_TPC1FG_B 10 26#define WACOM_PKGLEN_TPC2FG 14 27#define WACOM_PKGLEN_BBTOUCH 20 28#define WACOM_PKGLEN_BBTOUCH3 64 --- 33 unchanged lines hidden (view full) --- 62#define WACOM_REPORT_TPCST 16 63#define WACOM_REPORT_DTUS 17 64#define WACOM_REPORT_TPC1FGE 18 65#define WACOM_REPORT_24HDT 1 66#define WACOM_REPORT_WL 128 67#define WACOM_REPORT_USB 192 68#define WACOM_REPORT_BPAD_PEN 3 69#define WACOM_REPORT_BPAD_TOUCH 16 |
70#define WACOM_REPORT_DEVICE_LIST 16 71#define WACOM_REPORT_REMOTE 17 |
|
68 69/* device quirks */ 70#define WACOM_QUIRK_BBTOUCH_LOWRES 0x0001 71#define WACOM_QUIRK_BATTERY 0x0008 72 73/* device types */ 74#define WACOM_DEVICETYPE_NONE 0x0000 75#define WACOM_DEVICETYPE_PEN 0x0001 --- 48 unchanged lines hidden (view full) --- 124 WACOM_BEE, 125 WACOM_13HD, 126 WACOM_MO, 127 WIRELESS, 128 BAMBOO_PT, 129 WACOM_24HDT, 130 WACOM_27QHDT, 131 BAMBOO_PAD, | 72 73/* device quirks */ 74#define WACOM_QUIRK_BBTOUCH_LOWRES 0x0001 75#define WACOM_QUIRK_BATTERY 0x0008 76 77/* device types */ 78#define WACOM_DEVICETYPE_NONE 0x0000 79#define WACOM_DEVICETYPE_PEN 0x0001 --- 48 unchanged lines hidden (view full) --- 128 WACOM_BEE, 129 WACOM_13HD, 130 WACOM_MO, 131 WIRELESS, 132 BAMBOO_PT, 133 WACOM_24HDT, 134 WACOM_27QHDT, 135 BAMBOO_PAD, |
136 REMOTE, |
|
132 TABLETPC, /* add new TPC below */ 133 TABLETPCE, 134 TABLETPC2FG, 135 MTSCREEN, 136 MTTPC, 137 MTTPC_B, 138 HID_GENERIC, 139 MAX_TYPE --- 63 unchanged lines hidden (view full) --- 203 char pen_name[WACOM_NAME_MAX]; 204 char touch_name[WACOM_NAME_MAX]; 205 char pad_name[WACOM_NAME_MAX]; 206 char bat_name[WACOM_NAME_MAX]; 207 char ac_name[WACOM_NAME_MAX]; 208 unsigned char data[WACOM_PKGLEN_MAX]; 209 int tool[2]; 210 int id[2]; | 137 TABLETPC, /* add new TPC below */ 138 TABLETPCE, 139 TABLETPC2FG, 140 MTSCREEN, 141 MTTPC, 142 MTTPC_B, 143 HID_GENERIC, 144 MAX_TYPE --- 63 unchanged lines hidden (view full) --- 208 char pen_name[WACOM_NAME_MAX]; 209 char touch_name[WACOM_NAME_MAX]; 210 char pad_name[WACOM_NAME_MAX]; 211 char bat_name[WACOM_NAME_MAX]; 212 char ac_name[WACOM_NAME_MAX]; 213 unsigned char data[WACOM_PKGLEN_MAX]; 214 int tool[2]; 215 int id[2]; |
211 __u32 serial[2]; | 216 __u32 serial[5]; |
212 bool reporting_data; 213 struct wacom_features features; 214 struct wacom_shared *shared; 215 struct input_dev *pen_input; 216 struct input_dev *touch_input; 217 struct input_dev *pad_input; 218 bool pen_registered; 219 bool touch_registered; --- 13 unchanged lines hidden --- | 217 bool reporting_data; 218 struct wacom_features features; 219 struct wacom_shared *shared; 220 struct input_dev *pen_input; 221 struct input_dev *touch_input; 222 struct input_dev *pad_input; 223 bool pen_registered; 224 bool touch_registered; --- 13 unchanged lines hidden --- |