fix indentation, now using tabs

This commit is contained in:
arthur.jamet
2021-05-21 23:50:54 +02:00
parent 17f0db2bd1
commit dd128b8b97
71 changed files with 1457 additions and 1473 deletions

View File

@@ -13,34 +13,34 @@
#include <vector>
namespace RAY::Controller {
class Keyboard {
public:
typedef ::KeyboardKey Key;
class Keyboard {
public:
typedef ::KeyboardKey Key;
//! @return true if Key is pressed on the keyboard
//! @param Key The keycode of the key
static bool isPressed(Key);
//! @return true if Key is pressed on the keyboard
//! @param Key The keycode of the key
static bool isPressed(Key);
//! @return true if Key is down on the keyboard
//! @param Key The keycode of the key
static bool isDown(Key);
//! @return true if Key is down on the keyboard
//! @param Key The keycode of the key
static bool isDown(Key);
//! @return true if Key is released on the keyboard
//! @param Key The keycode of the key
static bool isReleased(Key);
//! @return true if Key is up on the keyboard
//! @param Key The keycode of the key
static bool isUp(Key);
//! @brief Fetch currently pressed keys
//! @return a vector containing keycode of currently pressed keys
static std::vector<Keyboard::Key> getPressedKeys(void);
//! @return true if Key is released on the keyboard
//! @param Key The keycode of the key
static bool isReleased(Key);
//! @return true if Key is up on the keyboard
//! @param Key The keycode of the key
static bool isUp(Key);
//! @brief Fetch currently pressed keys
//! @return a vector containing keycode of currently pressed keys
static std::vector<Keyboard::Key> getPressedKeys(void);
//! @brief Fetch currently pressed keys
//! @return a vector containing char of currently pressed keys
static std::vector<char> getPressedChars(void);
};
//! @brief Fetch currently pressed keys
//! @return a vector containing char of currently pressed keys
static std::vector<char> getPressedChars(void);
};
}
#endif /* !KEYBOARD_HPP_ */