Added poll for keyboard in InputDevice
fix samples.cpp