libaurum: add REPEAT to sendKey command 52/281452/10 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105913 accepted/tizen/unified/20220922.114019 tizen_7.0_m2_release
authorChihun Jeong <chihun.jeong@samsung.com>
Thu, 22 Sep 2022 02:06:25 +0000 (11:06 +0900)
committerwoochan lee <wc0917.lee@samsung.com>
Thu, 22 Sep 2022 02:10:04 +0000 (02:10 +0000)
commit6c56e619ba3f0ffea46c2f0595c0e2018059f57d
tree2238e0fdf777c9c973cf1b4d451799645336a2f2
parent2516e54d76e2fcd840aa2780e421c08155263b56
libaurum: add REPEAT to sendKey command

This command simulates repeat press of the given key.

How to use
Sends Right key every 100ms for a total of 2000ms:
stub.sendKey(ReqKey(type='XF86', actionType='REPEAT', XF86keyCode='Right', durationMs=2000, intervalMs=100))

Change-Id: I03ec7a8b79a28d6802fac5318a333e7ff5cbda59
libaurum/inc/Impl/MockDeviceImpl.h
libaurum/inc/Impl/TizenDeviceImpl.h
libaurum/inc/Interface/IDevice.h
libaurum/inc/UiDevice.h
libaurum/src/Impl/MockDeviceImpl.cc
libaurum/src/Impl/TizenDeviceImpl.cc
libaurum/src/UiDevice.cc
org.tizen.aurum-bootstrap/src/AurumServiceImpl.cc
org.tizen.aurum-bootstrap/src/Commands/SendKeyCommand.cc
protocol/aurum.proto