chiark / gitweb /
Offsets: Introduce cfg->pad_xmin and ymin, and cap_get_xmin, ymin
[xf86-input-mtrack.git] / include / mconfig.h
index 2c3c86f4fa9e2c6d8b5c06c93d21ab87888c2f3c..e14d53c2256d9a6e4c4594d47d2fc28bd6225d5e 100644 (file)
@@ -97,6 +97,8 @@ struct MConfig {
        int touch_max;          // Maximum touch value.
        int pad_width;          // Width of the touchpad.
        int pad_height;         // Height of the touchpad.
+       int pad_xmin;           // Minimum x coordinate.
+       int pad_ymin;           // Minimum y coordinate.
 
        // Set by config.
        int touch_down;         // When is a finger touching? 0 - 100 (percentage)