From 10a64922387c9fd123c8e5df371d1fffea476076 Mon Sep 17 00:00:00 2001 From: Wan Shuang Date: Wed, 11 May 2022 13:51:48 +0800 Subject: [PATCH] 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;