diff options
Diffstat (limited to 'drivers/input/mouse/synaptics.h')
-rw-r--r-- | drivers/input/mouse/synaptics.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/input/mouse/synaptics.h b/drivers/input/mouse/synaptics.h index 7453938bf5ef..b8025b0ee2bd 100644 --- a/drivers/input/mouse/synaptics.h +++ b/drivers/input/mouse/synaptics.h | |||
@@ -66,9 +66,9 @@ | |||
66 | * 1 0x60 multifinger mode identifies firmware finger counting | 66 | * 1 0x60 multifinger mode identifies firmware finger counting |
67 | * (not reporting!) algorithm. | 67 | * (not reporting!) algorithm. |
68 | * Not particularly meaningful | 68 | * Not particularly meaningful |
69 | * 1 0x80 covered pad W clipped to 14, 15 == pad mostly covered | 69 | * 1 0x80 covered pad W clipped to 14, 15 == pad mostly covered |
70 | * 2 0x01 clickpad bit 1 2-button ClickPad | 70 | * 2 0x01 clickpad bit 1 2-button ClickPad |
71 | * 2 0x02 deluxe LED controls touchpad support LED commands | 71 | * 2 0x02 deluxe LED controls touchpad support LED commands |
72 | * ala multimedia control bar | 72 | * ala multimedia control bar |
73 | * 2 0x04 reduced filtering firmware does less filtering on | 73 | * 2 0x04 reduced filtering firmware does less filtering on |
74 | * position data, driver should watch | 74 | * position data, driver should watch |
@@ -78,6 +78,7 @@ | |||
78 | #define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & 0x000100) /* 2-button ClickPad */ | 78 | #define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & 0x000100) /* 2-button ClickPad */ |
79 | #define SYN_CAP_MAX_DIMENSIONS(ex0c) ((ex0c) & 0x020000) | 79 | #define SYN_CAP_MAX_DIMENSIONS(ex0c) ((ex0c) & 0x020000) |
80 | #define SYN_CAP_ADV_GESTURE(ex0c) ((ex0c) & 0x080000) | 80 | #define SYN_CAP_ADV_GESTURE(ex0c) ((ex0c) & 0x080000) |
81 | #define SYN_CAP_REDUCED_FILTERING(ex0c) ((ex0c) & 0x000400) | ||
81 | 82 | ||
82 | /* synaptics modes query bits */ | 83 | /* synaptics modes query bits */ |
83 | #define SYN_MODE_ABSOLUTE(m) ((m) & (1 << 7)) | 84 | #define SYN_MODE_ABSOLUTE(m) ((m) & (1 << 7)) |
@@ -104,6 +105,9 @@ | |||
104 | #define SYN_NEWABS_RELAXED 2 | 105 | #define SYN_NEWABS_RELAXED 2 |
105 | #define SYN_OLDABS 3 | 106 | #define SYN_OLDABS 3 |
106 | 107 | ||
108 | /* amount to fuzz position data when touchpad reports reduced filtering */ | ||
109 | #define SYN_REDUCED_FILTER_FUZZ 8 | ||
110 | |||
107 | /* | 111 | /* |
108 | * A structure to describe the state of the touchpad hardware (buttons and pad) | 112 | * A structure to describe the state of the touchpad hardware (buttons and pad) |
109 | */ | 113 | */ |