# Issues detecting a Long Press on some models

**URL:** <https://forum.webostv.developer.lge.com/t/issues-detecting-a-long-press-on-some-models/306>\
**Category:** Web App Development\
**Created:** [September 12, 2022, 7:29am UTC](https://forum.webostv.developer.lge.com/t/issues-detecting-a-long-press-on-some-models/306 "2022-09-12T07:29:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user100](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@user100](https://forum.webostv.developer.lge.com/u/user100)\
**Post date:** [September 12, 2022, 7:29am UTC](https://forum.webostv.developer.lge.com/t/issues-detecting-a-long-press-on-some-models/306/1 "2022-09-12T07:29:20Z")

</div>

Helo everyone,

In our app we have a functionality that displays a menu when a long press (\>500 milliseconds) of the OK/SELECT key on the remote is performed, it uses a combination of ‘keydown’ and ‘keyup’ events to detect when this long press is being made starting a timeout when it is pressed and cancelling it when released, if more than 500ms have passed it is considered a long press

This works in most models but for some reason on model \<webOS6.0( LM21U FHD)\> it is not registering as a long press according to LG QA, we have seen on the video LG QA sends that there is some sort of touchcreen remote, not a normal tv remote controller, so we would like to know if this onscreen touch remote also sends a ‘keydown’ and ‘keyup’ event or if instead it for some reason sends a ‘mousedown’ event just like the magic remote so if someone could share this information if possible it would be of great help!  
Some information on how to test this would also come in handy as we don’t have this device, videos have been uploaded to g drive  
[LG QA video evidence](https://drive.google.com/drive/folders/1pBInwo2ORH8fM7i9z5kiKzIgsZLj_fCd?usp=sharing)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [September 21, 2022, 3:38am UTC](https://forum.webostv.developer.lge.com/t/issues-detecting-a-long-press-on-some-models/306/3 "2022-09-21T03:38:03Z")

</div>

On reviewing this issue, we found that the StanbyME Touch Remote does not support the long press. This is the touch remote specification.  
We informed QA that the long press can only be tested with the remote control. If you have further problems with it, please let us know.  
We will update the guides above soon. Sorry for the confusion.

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [September 27, 2022, 9:26am UTC](https://forum.webostv.developer.lge.com/t/issues-detecting-a-long-press-on-some-models/306/4 "2022-09-27T09:26:08Z")

</div>

[StanbyME Overview](https://webostv.developer.lge.com/develop/guides/stanbyme-overview#touch-remote-interface) and [Touch Screen on StanbyME](https://webostv.developer.lge.com/develop/guides/stanbyme-touch-screen) have been updated. The touch remote fires the same events as the remote contol but does not support long press. Thank you.
