<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> | <sort-as> | <draft-comment> | <image> | <keyword> | <markupname> | <apiname> | <option> | <parmname> | <cmdname> | <msgnum> | <varname> | <wintitle> | <numcharref> | <parameterentity> | <textentity> | <xmlatt> | <xmlelement> | <xmlnsname> | <xmlpi> | <ph> | <strong> | <em> | <b> | <i> | <line-through> | <overline> | <sup> | <sub> | <tt> | <u> | <hwcontrol> | <partno> | <codeph> | <filepath> | <msgph> | <systemoutput> | <userinput> | <synph> | <menucascade> | <uicontrol> | <text> )*

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>