局部项
描述
Local item tags define characteristics of controls. These items do not carry over to the next Main item. If a Main item defines more than one control, it may be preceded by several similar Local item tags. For example, an Input item may have several Usage tags associated with it, one for each control.
局部项标签用于定义控制器的特性。这些项的作用范围不会延续到下一个主项。如果一个主项定义了多个控制器,其前面可以放置多个同类型的局部项标签。例如,一个输入项可以关联多个用途标签,每个控制器对应一个。
格式

Usage (bit[7,0] = 0000 10nn)
Usage index for an item usage; represents a suggested usage for the item or collection. In the case where an item represents multiple controls, a Usage tag may suggest a usage for every variable or element in an array.一个项的用途索引;表示该项或集合的建议用途。如果一个项代表多个控制器,则一个用途标签可以为数组中的每个变量或元素指定一个建议用途。
Usage Minimum (bit[7,0] = 0001 10nn)
Defines the starting usage associated with an array or bitmap.定义一个与数组或位图关联的起始用途。
Usage Maximum (bit[7,0] = 0010 10nn)
Defines the ending usage associated with an array or bitmap.定义一个与数组或位图关联的结束用途。
笔记
- bit[3,2] = 10 - 局部项(local item)
