Integrate PadBlocker in input preferences

- Import padblocker sources
- Add slider to set padblocking time
- Generates PadBlocker settings

Fixes #11673

Change-Id: Ic88416215aabb1ae6aba79ff41cb55a7f0f8008d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1590
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Preetpal Kaur
2020-06-22 15:08:48 +00:00
committed by Adrien Destugues
parent 1e4192fc86
commit 13b45a2ea3
11 changed files with 274 additions and 30 deletions
+3 -2
View File
@@ -19,6 +19,7 @@ typedef struct {
uint8 tapgesture_sensibility; // 0 : no tapgesture
// 20: very light tip is enough (default)
uint16 padblocker_threshold; //0 to 100
} touchpad_settings;
@@ -30,10 +31,10 @@ const static touchpad_settings kDefaultTouchpadSettings = {
7,
10,
10,
20
20,
30
};
#define TOUCHPAD_SETTINGS_FILE "Touchpad_settings"
#endif /* TOUCHPAD_SETTINGS_H */