diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-09-06 09:59:01 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@bitmath.org> | 2010-09-06 09:59:01 +0200 |
| commit | a9606c01f7edfc21a3fce1f10152fbf266e74d4f (patch) | |
| tree | c036a72be47944e9bcffbf2ae7b40d102fe577c1 /usr/src/dkms_source_tree/wacom_wac.h | |
| parent | 9c70cefed5bc44284a2cd63fc5e3b4ab3d90d0bf (diff) | |
Align with 2.6.37
This patch aligns wacom support with kernel 2.6.37. The tablet
buttons have been remapped and the code has been prepared for
adding the rest of the Bamboo family.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'usr/src/dkms_source_tree/wacom_wac.h')
| -rw-r--r-- | usr/src/dkms_source_tree/wacom_wac.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr/src/dkms_source_tree/wacom_wac.h b/usr/src/dkms_source_tree/wacom_wac.h index 0c5a35d..00ca015 100644 --- a/usr/src/dkms_source_tree/wacom_wac.h +++ b/usr/src/dkms_source_tree/wacom_wac.h | |||
| @@ -38,6 +38,10 @@ | |||
| 38 | #define WACOM_REPORT_TPC1FG 6 | 38 | #define WACOM_REPORT_TPC1FG 6 |
| 39 | #define WACOM_REPORT_TPC2FG 13 | 39 | #define WACOM_REPORT_TPC2FG 13 |
| 40 | 40 | ||
| 41 | /* device quirks */ | ||
| 42 | #define WACOM_QUIRK_MULTI_INPUT 0x0001 | ||
| 43 | #define WACOM_QUIRK_BBTOUCH_LOWRES 0x0002 | ||
| 44 | |||
| 41 | /* largest reported tracking id */ | 45 | /* largest reported tracking id */ |
| 42 | #define MAX_TRACKING_ID 0xfff | 46 | #define MAX_TRACKING_ID 0xfff |
| 43 | 47 | ||
| @@ -48,6 +52,7 @@ enum { | |||
| 48 | PTU, | 52 | PTU, |
| 49 | PL, | 53 | PL, |
| 50 | DTU, | 54 | DTU, |
| 55 | BAMBOO_PT, | ||
| 51 | INTUOS, | 56 | INTUOS, |
| 52 | INTUOS3S, | 57 | INTUOS3S, |
| 53 | INTUOS3, | 58 | INTUOS3, |
| @@ -61,7 +66,6 @@ enum { | |||
| 61 | WACOM_MO, | 66 | WACOM_MO, |
| 62 | TABLETPC, | 67 | TABLETPC, |
| 63 | TABLETPC2FG, | 68 | TABLETPC2FG, |
| 64 | BAMBOO_TOUCH, | ||
| 65 | MAX_TYPE | 69 | MAX_TYPE |
| 66 | }; | 70 | }; |
| 67 | 71 | ||
| @@ -78,6 +82,11 @@ struct wacom_features { | |||
| 78 | int y_phy; | 82 | int y_phy; |
| 79 | unsigned char unit; | 83 | unsigned char unit; |
| 80 | unsigned char unitExpo; | 84 | unsigned char unitExpo; |
| 85 | int x_fuzz; | ||
| 86 | int y_fuzz; | ||
| 87 | int pressure_fuzz; | ||
| 88 | int distance_fuzz; | ||
| 89 | unsigned quirks; | ||
| 81 | }; | 90 | }; |
| 82 | 91 | ||
| 83 | struct wacom_shared { | 92 | struct wacom_shared { |
| @@ -91,6 +100,7 @@ struct wacom_wac { | |||
| 91 | int id[3]; | 100 | int id[3]; |
| 92 | __u32 serial[2]; | 101 | __u32 serial[2]; |
| 93 | int last_finger; | 102 | int last_finger; |
| 103 | int trk_id; | ||
| 94 | struct wacom_features features; | 104 | struct wacom_features features; |
| 95 | struct wacom_shared *shared; | 105 | struct wacom_shared *shared; |
| 96 | struct input_dev *input; | 106 | struct input_dev *input; |
