summaryrefslogtreecommitdiff
path: root/synaptics.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-05-02 00:32:15 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:00:53 +0200
commit5b1ecfe525fca8deea1b5d742a929d7f900b60cc (patch)
tree7de411c5251efa4e2f51c3ac3f93d02f7b41bc1f /synaptics.h
parent10c55ff9de415404201eb5ea37c10acfaca6f824 (diff)
Made the timeout for middle button emulation configurable.
Diffstat (limited to 'synaptics.h')
-rw-r--r--synaptics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h
index c45b0fd..d8df12f 100644
--- a/synaptics.h
+++ b/synaptics.h
@@ -20,11 +20,13 @@ typedef struct _SynapticsMoveHist
} SynapticsMoveHistRec;
typedef struct _SynapticsSHM {
+ /* Current device state */
int x, y; /* actual x, y Coordinates */
int z; /* pressure value */
int w; /* finger width value */
int left, right, up, down; /* left/right/up/down buttons */
+ /* Probed hardware properties */
unsigned long int model_id; /* Model-ID */
unsigned long int capabilities; /* Capabilities */
unsigned long int identity; /* Identification */
@@ -35,6 +37,8 @@ typedef struct _SynapticsSHM {
/* edge coordinates absolute */
int finger_low, finger_high; /* finger detection values in Z-values */
int tap_time, tap_move; /* max. tapping-time and movement in packets and coord. */
+ int emulate_mid_button_time; /* Max time between left and right button presses to
+ emulate a middle button press. */
int scroll_dist_vert; /* Scrolling distance in absolute coordinates */
int scroll_dist_horiz; /* Scrolling distance in absolute coordinates */
double min_speed, max_speed, accl; /* movement parameters */