Add isKeypress to emu and fix docs

This commit is contained in:
Thomas Edvalson
2015-12-07 23:19:52 -05:00
parent 8f3c4ed2a7
commit 36b81dcd9b
3 changed files with 7 additions and 6 deletions
+1 -5
View File
@@ -126,7 +126,7 @@ private:
///
/// Usage example:
/// \code
/// if (cpp3ds::Keyboard::isKeyPressed(cpp3ds::Mouse, cpp3ds::Keyboard::Left))
/// if (cpp3ds::Keyboard::isKeyPressed(cpp3ds::Keyboard::Left))
/// {
/// // move left...
/// }
@@ -134,10 +134,6 @@ private:
/// {
/// // move right...
/// }
/// else if (cpp3ds::Keyboard::isKeyPressed(cpp3ds::Keyboard::Escape))
/// {
/// // quit...
/// }
/// \endcode
///
/// \see cpp3ds::Joystick, cpp3ds::Touch