+ /**
+ Returns the state of the joystick buttons.
+ Every button is mapped to a single bit in the returned integer, with the
+ first button being mapped to the least significant bit, and so on.
+
+ A bitlist of wxJOY_BUTTONn identifiers, where n is 1, 2, 3 or 4 is available
+ for historical reasons.
+ */
+ int GetButtonState() const;
+