X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da9e956384a0619a0ecaa0bd1e4ba26b133b60a9..a607d8d633e055fc5cea22c0b829cd65b5c3dbfb:/docs/latex/wx/joystick.tex diff --git a/docs/latex/wx/joystick.tex b/docs/latex/wx/joystick.tex index 155b2f05fb..1b1ca2cb85 100644 --- a/docs/latex/wx/joystick.tex +++ b/docs/latex/wx/joystick.tex @@ -10,6 +10,10 @@ wxJoystick allows an application to control one or more joysticks. +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{See also} \helpref{wxJoystickEvent}{wxjoystickevent} @@ -39,6 +43,14 @@ significant bit, and so on. A bitlist of wxJOY\_BUTTONn identifiers, where n is 1, 2, 3 or 4 is available for historical reasons. +\constfunc{bool}{GetButtonState}{\param{unsigned}{ id}} + +Returns the state of the specified joystick button. + +\wxheading{Parameters} + +\docparam{id}{The button id to report, from 0 to \helpref{GetNumberButtons()}{wxjoystickgetnumberbuttons} - 1} + \membersection{wxJoystick::GetManufacturerId}\label{wxjoystickgetmanufacturerid} \constfunc{int}{GetManufacturerId}{\void} @@ -100,6 +112,14 @@ Returns the product name for the joystick. Returns the x, y position of the joystick. +\constfunc{int}{GetPosition}{\param{unsigned}{ axis}} + +Returns the position of the specified joystick axis. + +\wxheading{Parameters} + +\docparam{axis}{The joystick axis to report, from 0 to \helpref{GetNumberAxes()}{wxjoystickgetnumberaxes} - 1.} + \membersection{wxJoystick::GetPOVPosition}\label{wxjoystickgetpovposition} \constfunc{int}{GetPOVPosition}{\void}