24
D1535805 User Guide In-Room Control for Touch10. Produced June 2017 for CE9.0. © 2015–2017 Cisco Systems, Inc. All rights reserved
Directional Pad
Widgets
About Directional Pads
The Directional Pad can be regarded
as a set of 5 buttons, the four
Directional buttons and the Center
button.
As can be seen from the examples
at left, the event will be of the form:
“<WidgetId>:<
the button pushed
>”
in which
the button pushed
assumes the value:
up
,
down
,
left
,
right
or
center
Example of use:
Controlling AppleTV
Events
Example:
Press and release the button with WidgetId = “dirpad”.
Terminal mode
*e UserInterface Extensions Event Pressed Signal: “dirpad:up”
** end
*e UserInterface Extensions Event Released Signal: “dirpad:up”
** end
*e UserInterface Extensions Event Clicked Signal: “dirpad:up”
** end
XML mode
Event>
<UserInterface item=”1”>
<Extensions item=”1”>
<Widget item=”1”>
<Action item=”1”>
<WidgetId item=”1”>dirpad:up</WidgetId>
<Value item=”1”></Value>
<Type item=”1”>clicked</Type>
</Action>
</Widget>
</Extensions>
</UserInterface>
</Event>
Pressed Triggered when the
button is pressed.
Value: N/A
Changed Triggered when the
button is released.
Value: N/A
Released Triggered when the
button is released.
Value: N/A