summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2021-07-08 15:47:15 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-13 04:45:44 +0000
commitf34bf507e46b4714882b0dfe797dd124a6ec3eca (patch)
tree67810ff792bcceec154b494b3758c66874a58925 /board
parentf296e1ad1f90ec91cc99641302fe36d9be83320d (diff)
downloadchrome-ec-f34bf507e46b4714882b0dfe797dd124a6ec3eca.tar.gz
star: update touchpad dimension
BUG=b:192912723 TEST=no "[1.305775 *** TP mismatch!]" when boot BRANCH=trogdor Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I131d87531a2c220ad2ae78dab1074e0e4d01c26a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3013017 Tested-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/hammer/variants.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/board/hammer/variants.h b/board/hammer/variants.h
index 57f8802946..60920dda53 100644
--- a/board/hammer/variants.h
+++ b/board/hammer/variants.h
@@ -85,14 +85,12 @@
#elif defined(BOARD_STAR)
#define CONFIG_USB_HID_KEYBOARD_VIVALDI
#define CONFIG_USB_HID_KB_NUM_TOP_ROW_KEYS 10
-
-/* TODO: update correct parameters */
#define HAS_I2C_TOUCHPAD
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 3282
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_Y 1793
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_PRESSURE 511
-#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 1017 /* tenth of mm */
-#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 581 /* tenth of mm */
+#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 1042 /* tenth of mm */
+#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 569 /* tenth of mm */
#define CONFIG_TOUCHPAD_VIRTUAL_SIZE (64*1024)
#elif defined(BOARD_WHISKERS)
#define HAS_SPI_TOUCHPAD