InputMapInit
Since 0.6
Signature
export interface InputMapInit {
bindings?: { axes?: Record<string, string>; buttons?: Record<string, string | string[]> }
deadzone?: number
lookSensitivity?: number | Vec2
invertLook?: boolean | [boolean, boolean]
}
Import: import type { InputMapInit } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
bindings | bindings?: { axes?: Record<string, string>; buttons?: Record<string, string | string[]> } | |
deadzone | deadzone?: number | |
lookSensitivity | lookSensitivity?: number | Vec2 | |
invertLook | invertLook?: boolean | [boolean, boolean] |