X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cb1d3daa2e03b8c6481c9375d30451979170ba7..4813bb8d72d4e6821e031f2b19baaa338b714d39:/src/mac/carbon/joystick.cpp diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 83ef3bf68d..3f1a5a9f5e 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "joystick.h" -#endif - #include "wx/wxprec.h" #if wxUSE_JOYSTICK @@ -32,6 +28,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 { // TODO @@ -94,7 +102,7 @@ bool wxJoystick::IsOk() const return FALSE; } -int wxJoystick::GetNumberJoysticks() const +int wxJoystick::GetNumberJoysticks() { // TODO return 0;