Skip to content

hxd.Pad

hxd.Pad

Fields

NameType
analogButtonThresholdsPressF64
analogButtonThresholdsReleaseF64
connectedBool
indexI32
xAxisF64
yAxisF64
buttonshl.types.ArrayObj
valueshl.types.ArrayBytes_Float
prevButtonshl.types.ArrayObj
onDisconnectFun
ddx.GameController
staticDEFAULT_CONFIGVirtual[A, B, LB, LT, RB, RT, X, Y, analogClick, analogX, analogY, back, dpadDown, dpadLeft, dpadRight, dpadUp, names, ranalogClick, ranalogX, ranalogY, start]
staticwaitPadFun
staticinitDoneBool
staticpadshaxe.ds.IntMap
staticwaitFun
staticsyncPadsFun
staticonDetectFun

Protos

  • f@2458 rumble(hxd.Pad, F64, F64) → Void
  • f@2459 get_name(hxd.Pad) → String
  • f@2460 _detectAnalogButton(hxd.Pad, I32, F64) → Void

Bindings

  • f@2457 onDisconnect(hxd.Pad) → Void
  • static f@2471 __constructor__(hxd.Pad) → Void
  • static f@2470 onDetect(dx.GameController, Bool) → Void
  • static f@2469 syncPads() → Void
  • static f@2468 wait(Fun) → Void