Instance Method

getUsagePage

Returns the HID usage page associated with the element.

Declaration

macOS
virtual UInt32 getUsagePage(void);
DriverKit
virtual uint32_t getUsagePage(void);

Return Value

The usage page assigned to the element. This value corresponds to one of the values in Usage Pages.

See Also

Getting an Element's Usage Information

- getUsage

Returns the element's specific usage value.