added input with keyboard and GamePad