libaurum: Give name to input generator 30/294930/1 accepted/tizen/unified/20230630.124046
authorWoochan Lee <wc0917.lee@samsung.com>
Thu, 29 Jun 2023 02:17:41 +0000 (11:17 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Thu, 29 Jun 2023 02:18:18 +0000 (11:18 +0900)
Signed-off-by: Woochan Lee <wc0917.lee@samsung.com>
Change-Id: Id6caea8014c21f5073b155910efb6fd63e4fa9fa

libaurum/src/Impl/TizenDeviceImpl.cc

index 33f3266..bd29ad2 100644 (file)
@@ -136,7 +136,7 @@ bool TizenDeviceImpl::wheelUp(int amount, const int durationMs)
     LOGI("wheel up %d for %d", amount, durationMs);
     long result = -1;
     TizenDeviceImpl *obj = static_cast<TizenDeviceImpl *>(this);
-    obj->mFakeWheelHandle = efl_util_input_initialize_generator_with_sync(EFL_UTIL_INPUT_DEVTYPE_POINTER, NULL);
+    obj->mFakeWheelHandle = efl_util_input_initialize_generator_with_sync(EFL_UTIL_INPUT_DEVTYPE_POINTER, "SMSRC Fake Input");
     for (int i = 0; i < amount; i++){
          TizenDeviceImpl *obj = static_cast<TizenDeviceImpl *>(this);
          result = (long)efl_util_input_generate_wheel(obj->mFakeWheelHandle, EFL_UTIL_INPUT_POINTER_WHEEL_HORZ, 1);
@@ -152,7 +152,7 @@ bool TizenDeviceImpl::wheelDown(int amount, const int durationMs)
     LOGI("wheel down %d for %d", amount, durationMs);
     long result = -1;
     TizenDeviceImpl *obj = static_cast<TizenDeviceImpl *>(this);
-    obj->mFakeWheelHandle = efl_util_input_initialize_generator_with_sync(EFL_UTIL_INPUT_DEVTYPE_POINTER, NULL);
+    obj->mFakeWheelHandle = efl_util_input_initialize_generator_with_sync(EFL_UTIL_INPUT_DEVTYPE_POINTER, "SMSRC Fake Input");
     for (int i = 0; i < amount; i++){
         TizenDeviceImpl *obj = static_cast<TizenDeviceImpl *>(this);
         result = (long)efl_util_input_generate_wheel(obj->mFakeWheelHandle, EFL_UTIL_INPUT_POINTER_WHEEL_HORZ, -1);