Game Develop C++ Platform: JoystickTools.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
JoystickTools.h
Go to the documentation of this file.
1
6 #ifndef JOYSTICKTOOLS_H
7 #define JOYSTICKTOOLS_H
8 #include <string>
9 class RuntimeScene;
10 namespace gd { class Variable; }
11
12 bool GD_API JoystickButtonDown( RuntimeScene & scene, unsigned int joystick, unsigned int button );
13 double GD_API GetJoystickAxisValue( RuntimeScene & scene, unsigned int joystick, const std::string & axisStr );
14 void GD_API JoystickAxisValueToVariable( RuntimeScene & scene, unsigned int joystick, const std::string & axisStr, gd::Variable & variable );
15
16 #endif // JOYSTICKTOOLS_H
17