VimpNativesPad
@vimp-mp/types 2.0.1ts
interface VimpNativesPadMembers
_getGamepadType
ts
_getGamepadType(): number_isControlHeldDown
ts
_isControlHeldDown(control: number, action: number, duration: number): booleanallowAlternativeScriptControlsLayout
ts
allowAlternativeScriptControlsLayout(control: number): voidclearControlLightEffect
ts
clearControlLightEffect(control: number): voidclearControlShakeSuppressedId
ts
clearControlShakeSuppressedId(control: number): voiddisableAllControlActions
ts
disableAllControlActions(control: number): voiddisableControlAction
ts
disableControlAction(control: number, action: number, disablerelatedactions: boolean): voidenableAllControlActions
ts
enableAllControlActions(control: number): voidenableControlAction
ts
enableControlAction(control: number, action: number, enablerelatedactions: boolean): voidgetAllowMovementWhileZoomed
ts
getAllowMovementWhileZoomed(): booleangetControlGroupInstructionalButtonsString
ts
getControlGroupInstructionalButtonsString(control: number, controlgroup: number, allowxoswap: boolean): stringgetControlHowLongAgo
ts
getControlHowLongAgo(control: number): numbergetControlInstructionalButtonsString
ts
getControlInstructionalButtonsString(control: number, action: number, allowxoswap: boolean): stringgetControlNormal
ts
getControlNormal(control: number, action: number): numbergetControlUnboundNormal
ts
getControlUnboundNormal(control: number, action: number): numbergetControlValue
ts
getControlValue(control: number, action: number): numbergetDisabledControlNormal
ts
getDisabledControlNormal(control: number, action: number): numbergetDisabledControlUnboundNormal
ts
getDisabledControlUnboundNormal(control: number, action: number): numbergetIsUsingAlternateDriveby
ts
getIsUsingAlternateDriveby(): booleangetIsUsingAlternateHandbrake
ts
getIsUsingAlternateHandbrake(): booleangetLocalPlayerAimState
ts
getLocalPlayerAimState(): numbergetLocalPlayerGamepadAimState
ts
getLocalPlayerGamepadAimState(): numberhaveControlsChanged
ts
haveControlsChanged(control: number): booleaninitPcScriptedControls
ts
initPcScriptedControls(schemename: string): booleanisControlEnabled
ts
isControlEnabled(control: number, action: number): booleanisControlJustPressed
ts
isControlJustPressed(control: number, action: number): booleanisControlJustReleased
ts
isControlJustReleased(control: number, action: number): booleanisControlPressed
ts
isControlPressed(control: number, action: number): booleanisControlReleased
ts
isControlReleased(control: number, action: number): booleanisDisabledControlJustPressed
ts
isDisabledControlJustPressed(control: number, action: number): booleanisDisabledControlJustReleased
ts
isDisabledControlJustReleased(control: number, action: number): booleanisDisabledControlPressed
ts
isDisabledControlPressed(control: number, action: number): booleanisDisabledControlReleased
ts
isDisabledControlReleased(control: number, action: number): booleanisLookInverted
ts
isLookInverted(): booleanisMouseLookInverted
ts
isMouseLookInverted(): booleanisUsingCursor
ts
isUsingCursor(control: number): booleanisUsingKeyboardAndMouse
ts
isUsingKeyboardAndMouse(control: number): booleanisUsingRemotePlay
ts
isUsingRemotePlay(control: number): booleansetControlLightEffectColor
ts
setControlLightEffectColor(control: number, red: number, green: number, blue: number): voidsetControlShake
ts
setControlShake(control: number, duration: number, frequency: number): voidsetControlShakeSuppressedId
ts
setControlShakeSuppressedId(control: number, uniqueid: number): voidsetControlTriggerShake
ts
setControlTriggerShake(control: number, leftduration: number, leftfrequency: number, rightduration: number, rightfrequency: number): voidsetControlValueNextFrame
ts
setControlValueNextFrame(control: number, action: number, value: number): booleansetCursorPosition
ts
setCursorPosition(x: number, y: number): booleansetInputExclusive
ts
setInputExclusive(control: number, action: number): voidsetPlayerpadShakesWhenControllerDisabled
ts
setPlayerpadShakesWhenControllerDisabled(toggle: boolean): voidsetUseAdjustedMouseCoords
ts
setUseAdjustedMouseCoords(toggle: boolean): voidshutdownPcScriptedControls
ts
shutdownPcScriptedControls(): voidstopControlShake
ts
stopControlShake(control: number): voidswitchPcScriptedControls
ts
switchPcScriptedControls(schemename: string): boolean