diff options
Diffstat (limited to 'driver/touchpad_st.h')
-rw-r--r-- | driver/touchpad_st.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/driver/touchpad_st.h b/driver/touchpad_st.h index 456ea4e435..cae8d5f0f2 100644 --- a/driver/touchpad_st.h +++ b/driver/touchpad_st.h @@ -48,9 +48,9 @@ #define ST_TOUCH_HEADER_SIZE 32 -#define BYTES_PER_PIXEL 2 +#define BYTES_PER_PIXEL 1 /* Number of bits per pixel, this value is decided by experiments. */ -#define BITS_PER_PIXEL (11) +#define BITS_PER_PIXEL 8 #define ST_TOUCH_FRAME_SIZE (ST_TOUCH_ROWS * ST_TOUCH_COLS * \ BYTES_PER_PIXEL) @@ -248,5 +248,8 @@ enum ST_TP_MODE { #define ST_TP_HEAT_MAP_THRESHOLD 10 +/* A minimum version that supports heatmap mode. */ +#define ST_TP_MIN_HEATMAP_VERSION 11 + #endif /* __CROS_EC_TOUCHPAD_ST_H */ |