Collections Type
Constructors
| Constructor |
Description
|
Full Usage:
Collections(usage, usagePage, type, children, inputReports, outputReports, featureReports)
Parameters:
int
-
An integer representing the usage ID component of the HID usage associated with this collection.
usagePage : int
-
An integer representing the usage page component of the HID usage associated with this collection.
type : int
-
An 8-bit value representing the collection type, which describes a different relationship between the grouped items.
children : obj[]
-
An array of sub-collections which takes the same format as a top-level collection.
inputReports : obj[]
-
An array of inputReport items which represent individual input reports described in this collection.
outputReports : obj[]
-
An array of outputReport items which represent individual output reports described in this collection.
featureReports : obj[]
-
An array of featureReport items which represent individual feature reports described in this collection.
Returns: Collections
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.children
|
An array of sub-collections which takes the same format as a top-level collection. |
Full Usage:
this.featureReports
|
An array of featureReport items which represent individual feature reports described in this collection. |
Full Usage:
this.inputReports
|
An array of inputReport items which represent individual input reports described in this collection. |
Full Usage:
this.outputReports
|
An array of outputReport items which represent individual output reports described in this collection. |
Full Usage:
this.type
|
An 8-bit value representing the collection type, which describes a different relationship between the grouped items. |
Full Usage:
this.usage
|
An integer representing the usage ID component of the HID usage associated with this collection. |
Full Usage:
this.usagePage
|
An integer representing the usage page component of the HID usage associated with this collection. |
fable-electron-docs-api