added triggers to buttons (only get down or up events) and added functionality to bind keys to buttons & toggles