Contents

parseElements

Parses the specified array of elements.

Declaration

virtual bool parseElements(OSArray *elements);

Parameters

Return Value

true if parsing was successful, or false if an error occurred.

Discussion

This method searches the elements array for IOHIDElement objects relevant to keyboard, digitizer, pointer, scrolling, and LED events. It stores a reference to each relevant element it finds, and uses those objects later to obtain relevant information for events.

The driver’s Start method calls this method, so you don’t need to call it directly.

See Also

Parsing the Element Hierarchy