<hwcontrol>

A hardware control is a key, button, switch, indicator, or other physical device that controls a piece of hardware.

The <hwcontrol> element is specialized from <ph>. It is defined in the hardware domain module.

(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> )*

Contained by

<alt> , <b> , <booklibrary> , <booktitlealt> , <change-request-id> , <change-request-system> , <change-revisionid> , <change-summary> , <cite> , <codeblock> , <codeph> , <consequence> , <data> , <dd> , <ddhd> , <desc> , <div> , <draft-comment> , <dt> , <dthd> , <em> , <entry> , <example> , <fallback> , <figgroup> , <fn> , <fragref> , <howtoavoid> , <hwcontrol> , <i> , <index-see> , <index-see-also> , <indexterm> , <keytext> , <li> , <line-through> , <lines> , <linktitle> , <lq> , <mainbooktitle> , <navtitle> , <note> , <overline> , <p> , <pd> , <ph> , <pre> , <pt> , <q> , <screen> , <searchtitle> , <shortdesc> , <sli> , <source> , <stentry> , <strong> , <sub> , <subtitle> , <sup> , <synnote> , <title> , <titlealt> , <titlehint> , <tt> , <typeofhazard> , <u> , <xref>

Contained by

+ topic/ph hw-d/hwcontrol

The <hwcontrol> element is specialized from <ph> . It is defined in the hw-domain module.

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.

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>