add support for controls fixes #7
merge nico pull with button support