Share via


VJPOLLDATA structure

The VJPOLLDATA structure collects sensor data from a minidriver for DirectX 5.0 and later versions.

Syntax

typedef struct {
  DWORD dwX;
  DWORD dwY;
  DWORD dwZ;
  DWORD dwR;
  DWORD dwU;
  DWORD dwV;
  DWORD dwPOV0;
  DWORD dwPOV1;
  DWORD dwPOV2;
  DWORD dwPOV3;
  DWORD dwBTN0;
  DWORD dwBTN1;
  DWORD dwBTN2;
  DWORD dwBTN3;
  DWORD dwReserved0;
  DWORD dwReserved1;
} VJPOLLDATA, *LPVJPOLLDATA;

Members

  • dwX
    Contains the X axis value.

  • dwY
    Contains the Y axis value.

  • dwZ
    Contains the Z axis value.

  • dwR
    Contains the R axis value.

  • dwU
    Contains the U axis value.

  • dwV
    Contains the V axis value.

  • dwPOV0
    Contains the first point-of-view (POV) value.

  • dwPOV1
    Contains the second POV value.

  • dwPOV2
    Contains the third POV value.

  • dwPOV3
    Contains the fourth POV value.

  • dwBTN0
    Contains the first DWORD of button bits (buttons 1 to 32).

  • dwBTN1
    Contains the second DWORD of button bits (buttons 33 to 64).

  • dwBTN2
    Contains the third DWORD of button bits (buttons 65 to 96).

  • dwBTN3
    Contains the fourth DWORD of button bits (buttons 97 to 128).

  • dwReserved0
    Reserved for future use.

  • dwReserved1
    Reserved for future use.

 

 

Send comments about this topic to Microsoft