Joystick Input

Do anyone know how to use functions for joystick ?

ex: for keyboard - mKeyboard->isKeyDown(OIS::KC_M)
i want to know functions for joystick as keyboard functions.
please help me.

mJoy->.......(OIS::OIS_Axis,2)
ogre3d wiki wrote:
The Open Input System (OIS) provides three primary classes to retrieve input: Keyboard, Mouse, and Joystick. In these tutorials we will really only be covering how to use the Keyboard and Mouse objects. If you are interested in using a joystick (or gamepad) with Ogre, you should look into the Joystick class.

And next time you ask something, do specify the library you're using...
Yeah i'm going to use joystick with ogre. But don't know how to call functions for joystick buttons.
And can you please tell me where is the Joystick class.
Topic archived. No new replies allowed.