Add intelligence of device capabilities

Add intelligence of device capabilities
minor bug fix -- EventHandler needs axis constants