mirror of
https://github.com/encounter/cpp3ds.git
synced 2026-03-30 11:04:22 -07:00
Add isKeypress to emu and fix docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user