Added handler functions for phidget events