factory: A new UI library |
|||
Issue descriptionAs continue to issue 670277 . During development of touch UI, it seems like that current UI library was designed with too much flexibility that people need to understand whole dependency to make touch UI work. I think we should consider a new library that is: - Less API dependency, for example no need to setting templates before BindKey was called, or won't have problem if people set template to other forms again. - Supporting touch by default - Easier to use, for example won't need to worry about once=True or not for BindKey calls. - Even better if the UI library accepts setting input source and output source, for example output=keyboard_led
,
Jul 26 2017
,
Oct 31 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/factory/+/f72dadbb1c0e2f3545ccd1acb66a1d0ff25b98db commit f72dadbb1c0e2f3545ccd1acb66a1d0ff25b98db Author: Peter Shih <pihsun@chromium.org> Date: Tue Oct 31 13:04:47 2017 test_ui: Add WaitKeysOnce. Add WaitKeysOnce that can be used in background thread to wait for some keys to be pressed. This can simplify many custom key handlers in pytests. BUG=b:68681772, chromium:685000 TEST=make test Change-Id: If15d61b0fce96c96a94641e23600dd06b74a8ed4 Reviewed-on: https://chromium-review.googlesource.com/746490 Commit-Ready: Pi-Hsun Shih <pihsun@chromium.org> Tested-by: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> [modify] https://crrev.com/f72dadbb1c0e2f3545ccd1acb66a1d0ff25b98db/py/test/test_ui.py
,
Aug 15
pihsun has made a new revised version. |
|||
►
Sign in to add a comment |
|||
Comment 1 by hungte@chromium.org
, Jan 25 2017