Implemented classes for keyboard, mouse, and gamepad