Creating a listener for hardware events

To create a listener for hardware events, you first write the event listener code in C and use addEventListener( ) to add and configure the event listener. Then you use the PODSEventMgr object's registerEventHandler( ) to register the event listener.