Supporting vs2012, added key and button support for win32.