projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sizing logic clearer, at the expense of a few duplicated lines.
[wxWidgets.git]
/
src
/
mac
/
carbon
/
joystick.cpp
diff --git
a/src/mac/carbon/joystick.cpp
b/src/mac/carbon/joystick.cpp
index c56cf2001ac456c465ae792df6327c7c10f3b046..3f1a5a9f5e7e64eb5e9b38a85281cf5b75e069ee 100644
(file)
--- a/
src/mac/carbon/joystick.cpp
+++ b/
src/mac/carbon/joystick.cpp
@@
-28,6
+28,18
@@
wxPoint wxJoystick::GetPosition() const
return wxPoint(0, 0);
}
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
int wxJoystick::GetZPosition() const
{
// TODO