diff options
author | Peter Osterlund <petero2@telia.com> | 2005-06-28 21:54:10 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:03:25 +0200 |
commit | d082fb1d7cf5672bd93c9c08066fd1105725c640 (patch) | |
tree | 6545e8fb9461bd1d0349a2d3ddb0a1633edd91d6 /synaptics.h | |
parent | 6742ccddfafc0b361f911d411e5753bb5a1c7609 (diff) |
Implemented new driver options LeftRightScrolling,
UpDownScrollRepeat, LeftRightScrollRepeat and ScrollButtonRepeat to
control the auto-repeat behavior of the scroll buttons.
From Sam Barnett-Cormack <sdb@geekworld.co.uk> with some small changes
by me.
Diffstat (limited to 'synaptics.h')
-rw-r--r-- | synaptics.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h index 49ab42c..95266b0 100644 --- a/synaptics.h +++ b/synaptics.h @@ -66,6 +66,11 @@ typedef struct _SynapticsSHM Bool edge_motion_use_always; /* If false, egde motion is used only when dragging */ Bool updown_button_scrolling; /* Up/Down-Button scrolling or middle/double-click */ + Bool leftright_button_scrolling; /* Left/right-button scrolling, or two lots of middle button */ + Bool updown_button_repeat; /* If up/down button being used to scroll, auto-repeat?*/ + Bool leftright_button_repeat; /* If left/right button being used to scroll, auto-repeat? */ + int scroll_button_repeat; /* time, in milliseconds, between scroll events being + * sent when holding down scroll buttons */ int touchpad_off; /* Switches the touchpad off * 0 : Not off * 1 : Off @@ -85,6 +90,12 @@ typedef struct _SynapticsSHM } SynapticsSHM; /* + * Minimum and maximum values for scroll_button_repeat + */ +#define SBR_MIN 10 +#define SBR_MAX 1000 + +/* * The x/y limits are taken from the Synaptics TouchPad interfacing Guide, * section 2.3.2, which says that they should be valid regardless of the * actual size of the sensor. |