Triggers are now called events; added some code to retrieve EventTypes supported by devices;