<hwcontrol>
A hardware control is a key, button, switch, indicator, or other physical device that controls a piece of hardware.
Specialization hierarchy
The <hwcontrol>
element is specialized from
<ph>
. It is defined in the hardware domain module.
Content model
(Text | <data>
| <draft-comment>
| <image>
| <keyword>
| <ph>
| <text>
)*
Not contained by any element.
- Text
<data>
<draft-comment>
<image>
<keyword>
<ph>
<text>
Not contained by any element.
Inheritance
+ topic/ph hw-d/hwcontrol
The <hwcontrol>
element is specialized from <ph>
. It is defined in the hw-domain module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
Example
This section is non-normative.
The following code sample shows how the
<hwcontrol>
element can be used to
identify a hardware controls:
<step>
<cmd>After entering the amount you received, press <hwcontrol>Amt Tend</hwcontrol>.</cmd>
<stepresult>This opens the cash drawer. The display shows the amount of change to give the
customer.</stepresult>
</step>