]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc2.i
better cleanup
[wxWidgets.git] / wxPython / src / misc2.i
index 70ccce4f4a7223035618b1353544399e95636261..22a8d2d7b7cce589e4692b433247b0e5a359611b 100644 (file)
@@ -844,6 +844,25 @@ long wxExecute(const wxString& command,
 
 //----------------------------------------------------------------------
 
+
+// Which joystick? Same as Windows ids so no conversion necessary.
+enum
+{
+    wxJOYSTICK1,
+    wxJOYSTICK2
+};
+
+// Which button is down?
+enum
+{
+    wxJOY_BUTTON_ANY,
+    wxJOY_BUTTON1,
+    wxJOY_BUTTON2,
+    wxJOY_BUTTON3,
+    wxJOY_BUTTON4,
+};
+
+
 %{
 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
 // A C++ stub class for wxJoystick for platforms that don't have it.