mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 10:31:02 +00:00
staff: Adjust touchpad dimensions
BRANCH=none BUG=b:67982128 TEST=Flash staff, no more *** TP mismatch error. Change-Id: I8f9aee68bc81a550eae176b9903add2a4f26b700 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/727390 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
3b4223f695
commit
b6547eda9b
@@ -149,11 +149,10 @@
|
||||
|
||||
/* Touchpad firmware size and dimension difference */
|
||||
#ifdef BOARD_STAFF
|
||||
/* TODO(b:38277869): Adjust values to match hardware. */
|
||||
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 3214
|
||||
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_Y 1840
|
||||
#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_X 1020 /* tenth of mm */
|
||||
#define CONFIG_USB_HID_TOUCHPAD_PHYSICAL_MAX_Y 584 /* tenth of mm */
|
||||
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 3206
|
||||
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_Y 1832
|
||||
#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_TOUCHPAD_VIRTUAL_SIZE (56*1024)
|
||||
#elif defined(BOARD_HAMMER)
|
||||
#define CONFIG_USB_HID_TOUCHPAD_LOGICAL_MAX_X 3207
|
||||
|
||||
Reference in New Issue
Block a user