# JOYCAPS Type

    Type JOYCAPS
      wMid As Integer
      wPid As Integer
      szPname As String * 32
      wXmin As Long
      wXmax As Long
      wYmin As Long
      wYmax As Long
      wZmin As Long
      wZmax As Long
      wNumButtons As Long
      wPeriodMin As Long
      wPeriodMax As Long
    End Type

JOYCAPS-type variables hold information about a joystick (not to be confused with the current position of the joystick). Namely, this type holds the axes' ranges and the number of buttons the joystick has.

wMid
  ?
wPid
  ?
szPname
  The name of the joystick's device driver.
wXmin
  The minimum x-axis coordinate value.
wXmax
  The maximum x-axis coordinate value.
wYmin
  The minimum y-axis coordinate value.
wYmax
  The maximum y-axis coordinate value.
wZmin
  The minimum z-axis coordinate value.
wZmax
  The maximum z-axis coordinate value.
wNumButtons
  The number of buttons on the joystick.
wPeriodMin
  ?
wPeriodMax
  ?

Used by: joyGetDevCaps
Back to the index.