Hi !
I think a way to do that is with
getTextEntered(): string;
getGamepadButtonValue(gamepad: number, button: number): number;