Skip to content

Commit

Permalink
Working on Mac version.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobsArePeople2 committed Dec 20, 2013
1 parent 47c9e33 commit 8010c23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ int main()
// Uncomment this if you are using an SFML version that supports
// Joystick names. See: https://github.com/NoobsArePeople2/SFML
stream << sf::Joystick::getName(i).toAnsiString() << "\n";
stream << "Manufacturer ID: " << sf::Joystick::getManufacturerID(i) << "\n";
stream << "Product ID: " << sf::Joystick::getProductID(i) << "\n";
stream << "Axis X: " << x << "\nAxis Y: " << y << "\nAxis Z: " << z;
gui.at(i).at(0).setString(stream.str());
stream.str("");
Expand Down

0 comments on commit 8010c23

Please sign in to comment.