From 9c8a7db7bb28338bea092128e5aa4507356213ee Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Thu, 21 Jul 2022 15:33:09 +0900 Subject: [PATCH] libaurum: change delay time between key down and key up Change-Id: I83afa617dd23f917fb57b21726173b33a7a55513 --- libaurum/inc/Impl/TizenDeviceImpl.h | 4 ++-- libaurum/src/UiDevice.cc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libaurum/inc/Impl/TizenDeviceImpl.h b/libaurum/inc/Impl/TizenDeviceImpl.h index 242cb60..8852a45 100644 --- a/libaurum/inc/Impl/TizenDeviceImpl.h +++ b/libaurum/inc/Impl/TizenDeviceImpl.h @@ -185,7 +185,7 @@ private: efl_util_inputgen_h mFakeKeyboardHandle; efl_util_inputgen_h mFakeWheelHandle; static const int INTV_CLICK = 5; - static const int INTV_SHORTSTROKE = 100; + static const int INTV_SHORTSTROKE = 10; static const int INTV_LONGSTROKE = 2000; static const int INTV_MINIMUM_DRAG_MS = 25; static const int INTV_MINIMUM_USLEEP = 1000; @@ -204,4 +204,4 @@ private: } -#endif \ No newline at end of file +#endif diff --git a/libaurum/src/UiDevice.cc b/libaurum/src/UiDevice.cc index bafa6d7..15ab27f 100644 --- a/libaurum/src/UiDevice.cc +++ b/libaurum/src/UiDevice.cc @@ -261,7 +261,6 @@ bool UiDevice::pressPower(KeyRequestType type) bool UiDevice::pressKeyCode(std::string keycode, KeyRequestType type) { bool result = mDeviceImpl->pressKeyCode(keycode, type); - waitForIdle(); return result; } -- 2.7.4