Skip to content

Commit

Permalink
Make the input resolution initialized as horizontal mode by default
Browse files Browse the repository at this point in the history
This is to adapt most user friendly input resolution.

Signed-off-by: Wan Shuang <shuang.wan@intel.com>
Tracked-On: OAM-101264
  • Loading branch information
shuangwan01 committed May 11, 2022
1 parent affcf08 commit 10a6492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgInputDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 10a6492

Please sign in to comment.