1/*
2 * Copyright 2001-2009, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef TOUCHPAD_SETTINGS_H
6#define TOUCHPAD_SETTINGS_H
7
8#include <SupportDefs.h>
9
10
11typedef struct {
12	bool	scroll_twofinger;
13	bool	scroll_twofinger_horizontal;
14	float	scroll_rightrange;		// from 0 to 1
15	float	scroll_bottomrange;		// from 0 to 1
16	uint16	scroll_xstepsize;
17	uint16	scroll_ystepsize;
18	uint8	scroll_acceleration;	// from 0 to 20
19
20	uint8	tapgesture_sensibility;	// 0 : no tapgesture
21									// 20: very light tip is enough (default)
22} touchpad_settings;
23
24
25const static touchpad_settings kDefaultTouchpadSettings = {
26	true,
27	true,
28	0.15,
29	0.15,
30	7,
31	10,
32	10,
33	20
34};
35
36#define TOUCHPAD_SETTINGS_FILE "Touchpad_settings"
37
38
39#endif	/* TOUCHPAD_SETTINGS_H */
40