Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetXinputtoMKBkeys

ProtoInput.SetXinputtoMKBkeys

Open in the workbench (search, and try it in a handler)

ProtoInput.SetXinputtoMKBkeys(
  instanceHandle: number,
  XinputtoMKBAkey: number,
  XinputtoMKBBkey: number,
  XinputtoMKBXkey: number,
  XinputtoMKBYkey: number,
  XinputtoMKBRSkey: number,
  XinputtoMKBLSkey: number,
  XinputtoMKBrightkey: number,
  XinputtoMKBleftkey: number,
  XinputtoMKBupkey: number,
  XinputtoMKBdownkey: number,
  XinputtoMKBstickR: number,
  XinputtoMKBstickL: number,
  XinputtoMKBstickright: number,
  XinputtoMKBstickleft: number,
  XinputtoMKBstickup: number,
  XinputtoMKBstickdown: number,
  XinputtoMKBoption: number,
  XinputtoMKBstart: number,
  XinputtoMKBsens: number,
  XinputtoMKBsensmult: number,
  XinputtoMKBDeadzone: number
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetXinputtoMKBkeys); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (SetXinputtoMKBkeys); TranslateXtoMKB.cpp (opens in a new tab) (ButtonStateImpulse, Sens, Sensmult, Deadzone); Nucleus ProtoInputLauncher.cs (opens in a new tab) (defaults).

Sets the controller-to-keyboard mapping used by ProtoInput.SetTranslateXinputtoMKB. Parameters, in order: the instance handle; virtual-key codes for A, B, X, Y, right shoulder, left shoulder, D-pad right, left, up, down, right stick press, left stick press, stick right, left, up, down, Back and Start; then sensitivity, acceleration and deadzone.

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop