From 29c960a7bf9e13304372adf137d5534d948404fa Mon Sep 17 00:00:00 2001 From: Wan Shuang Date: Wed, 11 May 2022 13:51:48 +0800 Subject: [PATCH] [DO NOT MERGE] Make the input resolution initialized as horizontal mode by default This is to adapt most user friendly input resolution. Signed-off-by: Wan Shuang Tracked-On: OAM-101264 --- lgInputDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgInputDevice.cpp b/lgInputDevice.cpp index 650f78b..84bccbc 100644 --- a/lgInputDevice.cpp +++ b/lgInputDevice.cpp @@ -364,8 +364,8 @@ int lgInputDevice::createInputDevice(uint16_t keyCode, bool gvtdMode) dev.id.product = 0x1; dev.id.version = 1; - signed int touch_xres = 600; - signed int touch_yres = 960; + signed int touch_xres = 960; + signed int touch_yres = 600; /* single touch inputs */ dev.absmax[ABS_MT_SLOT] = 0;