isaac-lua-definitions/isaac-typescript-definitions/typings/mods/InputHelper.d.ts

11 lines
359 B
TypeScript

// This is a global exposed as part of ModConfigMenu
declare const InputHelper: InputHelperInterface | undefined;
declare interface InputHelperInterface {
KeyboardPressed(this: void, key: Keyboard, controllerIndex: int): boolean;
ControllerToString: LuaTable<Keyboard, string | undefined>;
KeyboardToString: LuaTable<Keyboard, string | undefined>;
}