//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef _JSINPUT_H
#define _JSINPUT_H
-#include <jssuper.h>
-#include <plib/js.h>
+#include "jssuper.h"
class jsInput {
private:
int button_iv[MAX_JOYSTICKS];
int joystick,axis,button;
+ bool axis_positive;
float axis_threshold;
inline int getInputJoystick(void) { return joystick; }
inline int getInputAxis(void) { return axis; }
inline int getInputButton(void) { return button; }
+ inline bool getInputAxisPositive(void) { return axis_positive; }
inline float getReturnThreshold(void) { return axis_threshold; }
inline void setReturnThreshold(float ff)