summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorAapo Rantalainen <aapo.rantalainen@gmail.com>2011-03-09 21:32:36 +0100
committerChristoph Brill <egore911@egore911.de>2011-03-09 22:27:04 +0100
commit049d5fb6037b34d94b24cb8300849cf4e3b67437 (patch)
treeb93bdd5fe6e57131309050dca1ae6c83e92cb84c /src/synapticsstr.h
parentd6fc5be2969b9eede3c0fdd6e03daec4100a8c9f (diff)
Add synaptics orientation support
This patch allows usage of "synclient Orientation=0" (values from 0 to 3). It will rotate the touchpad similar to "xrandr -o". Original patch was extended for alps and ps2. Signed-off-by: Christoph Brill <egore911@egore911.de>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index 8f6593e..90640f7 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -161,6 +161,7 @@ typedef struct _SynapticsParameters
unsigned int resolution_vert; /* vertical resolution of touchpad in units/mm */
int area_left_edge, area_right_edge, area_top_edge, area_bottom_edge; /* area coordinates absolute */
int hyst_x, hyst_y; /* x and y width of hysteresis box */
+ int orientation; /* orientation of the touchpad */
} SynapticsParameters;