BRE12
Public Member Functions | Static Public Member Functions | List of all members
BRE::Keyboard Class Reference

Public Member Functions

 Keyboard (const Keyboard &)=delete
 
const Keyboardoperator= (const Keyboard &)=delete
 
 Keyboard (Keyboard &&)=delete
 
Keyboardoperator= (Keyboard &&)=delete
 
void Update () noexcept
 
__forceinline const std::uint8_t * GetKeysCurrentState () const noexcept
 
__forceinline const std::uint8_t * GetKeysLastState () const noexcept
 
__forceinline bool IsKeyUp (const std::uint8_t key) const noexcept
 
__forceinline bool IsKeyDown (const std::uint8_t key) const noexcept
 
__forceinline bool WasKeyUp (const std::uint8_t key) const noexcept
 
__forceinline bool WasKeyDown (const std::uint8_t key) const noexcept
 
__forceinline bool WasKeyPressedThisFrame (const std::uint8_t key) const noexcept
 
__forceinline bool WasKeyReleasedThisFrame (const std::uint8_t key) const noexcept
 
__forceinline bool IsKeyHeldDown (const std::uint8_t key) const noexcept
 

Static Public Member Functions

static KeyboardCreate (IDirectInput8 &directInput, const HWND windowHandle) noexcept
 
static KeyboardGet () noexcept
 

The documentation for this class was generated from the following files: