]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/joystick.cpp
No changes, just slightly simplify the tool insertion code.
[wxWidgets.git] / src / palmos / joystick.cpp
index f189adc7cd6e773c7b630145302928df0eea0d1d..528e6dc40852a2b364e487106a1a63e96a20cc81 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/string.h"
+    #include "wx/window.h"
 #endif
 
-#include "wx/window.h"
-
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 // Attributes
@@ -36,6 +35,18 @@ wxPoint wxJoystick::GetPosition() const
     return wxPoint(0, 0);
 }
 
+int wxJoystick::GetPosition(unsigned axis) const
+{
+    // TODO
+    return 0;
+}
+
+bool wxJoystick::GetButtonState(unsigned id) const
+{
+    // TODO
+    return false;
+}
+
 int wxJoystick::GetZPosition() const
 {
     return 0;