diff options
author | Chen-Tsung Hsieh <chentsung@chromium.org> | 2021-01-12 18:24:55 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-12 11:52:36 +0000 |
commit | 56edca2ded1fc614789144179e569fd73a9d0f63 (patch) | |
tree | b4ecace40641da88a7af020dc41015d6391ea096 /board/hammer | |
parent | 4f5cce3e8612ecf598842ae2147e1ee5bc27789e (diff) | |
download | chrome-ec-56edca2ded1fc614789144179e569fd73a9d0f63.tar.gz |
hammer: Fix moonball touchpad settings
Fix the dimensions to pass firmware test.
BRANCH=kukui
BUG=b:150335030
TEST=emerge-kukui chromeos-ec
Change-Id: I10d186c01135afa9d6ec9bb9f437e1a57501a874
Signed-off-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2624367
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/hammer')
-rw-r--r-- | board/hammer/variants.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/hammer/variants.h b/board/hammer/variants.h index 8d32b6e377..01a98be1d1 100644 --- a/board/hammer/variants.h +++ b/board/hammer/variants.h @@ -56,11 +56,11 @@ #define CONFIG_TOUCHPAD_VIRTUAL_SIZE (64*1024) #elif defined(BOARD_MOONBALL) #define HAS_I2C_TOUCHPAD -#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 2926 -#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_Y 1441 +#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 2925 +#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_Y 1440 #define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_PRESSURE 511 -#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 950 /* tenth of mm */ -#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 480 /* tenth of mm */ +#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 928 /* tenth of mm */ +#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 457 /* tenth of mm */ #define CONFIG_TOUCHPAD_VIRTUAL_SIZE (56*1024) #elif defined(BOARD_STAFF) #define HAS_I2C_TOUCHPAD |