diff options
author | Aapo Rantalainen <aapo.rantalainen@gmail.com> | 2011-03-09 21:32:36 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2011-03-09 22:27:04 +0100 |
commit | 049d5fb6037b34d94b24cb8300849cf4e3b67437 (patch) | |
tree | b93bdd5fe6e57131309050dca1ae6c83e92cb84c /include | |
parent | d6fc5be2969b9eede3c0fdd6e03daec4100a8c9f (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 'include')
-rw-r--r-- | include/synaptics-properties.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h index bdb2112..0b4e570 100644 --- a/include/synaptics-properties.h +++ b/include/synaptics-properties.h @@ -158,4 +158,7 @@ /* 32 Bit Integer, 2 values, horizontal hysteresis, vertical hysteresis */ #define SYNAPTICS_PROP_NOISE_CANCELLATION "Synaptics Noise Cancellation" +/* 32 bit, 4 values, normal, inverted, left, right */ +#define SYNAPTICS_ORIENTATION "Synaptics Orientation" + #endif /* _SYNAPTICS_PROPERTIES_H_ */ |