Touch Screen

For the StanbyME model, we provide the touch screen interface to control the device. Depending on how you want your app to handle touch screen inputs and touch events, you can specify the supportTouchMode property in the appinfo.json file as in the following:

Fully supporting touch screen inputs and touch events

If you want your app to support the touch screen input and handle touch events, set the supportTouchMode property to "full". Touch events are delivered to your app when the user touches the screen. You can implement various touch event handlers using the standard web API. For more information about touch events, refer to https://developer.mozilla.org/en-US/docs/Web/API/Touch_events.

Note that the following two touch events trigger the Touch Remote interface depending on the user option. You do not handle these events in your app.

  • Multi-touch: Touch 3 or more fingers anywhere

  • Edge Gesture: Drag from the right edge of the screen to the left

Handling touch screen inputs as key events

If you want your app to support the touch screen input but handle them keyboard and mouse events, instead of touch events, set the supportTouchMode property to "virtual". We call this setting the virtual touch mode. When the user touches the screen, keyboard and mouse events are delivered to your app. 

If you have already published your app on the content store, you can use this virtual touch mode to control the touch screen in the StanbyME model while maintaining the existing keyboard and mouse event handlers. Let's look at the detailed operation.

You can also set the threshold and event settings in detail for the virtual touch mode. For more information, see the virtualTouch property of the appinfo.json file.

Not allowing touch screen inputs

If you do not want your app to support the touch screen, set the supportTouchMode property to "none" which is the default value. No event is delivered to the app when the user touches the screen. In this case, the user can control the app only with the 4-way arrow keys on the remote controller.

Navigation