Berserk
Public Member Functions | List of all members
GlfwKeyboard Class Referencefinal

Glfw device implementation. More...

#include <GlfwInputDevices.hpp>

Inheritance diagram for GlfwKeyboard:
Inheritance graph
[legend]
Collaboration diagram for GlfwKeyboard:
Collaboration graph
[legend]

Public Member Functions

BRK_API GlfwKeyboard ()
 
BRK_API ~GlfwKeyboard () override=default
 
void UpdateKey (InputKeyboardKey key, InputAction action)
 
- Public Member Functions inherited from Keyboard
BRK_API ~Keyboard () override=default
 
const StringNameGetName () const
 
InputDeviceState GetState () const
 
const std::vector< InputAction > & GetKeysStates () const
 
- Public Member Functions inherited from RefCnt
virtual ~RefCnt ()
 
bool IsUnique () const
 
std::int32_t GetRefs () const
 
std::int32_t AddRef () const
 
std::int32_t RelRef () const
 

Additional Inherited Members

- Static Public Attributes inherited from Keyboard
static const uint32 MAX_KEYS = 100
 
- Protected Member Functions inherited from RefCnt
virtual void Destroy () const
 
- Protected Attributes inherited from Keyboard
StringName mName
 
InputDeviceState mState
 
std::vector< InputActionmKeys
 

Detailed Description

Glfw device implementation.

Constructor & Destructor Documentation

◆ GlfwKeyboard()

GlfwKeyboard::GlfwKeyboard ( )

◆ ~GlfwKeyboard()

BRK_API GlfwKeyboard::~GlfwKeyboard ( )
overridedefault

Member Function Documentation

◆ UpdateKey()

void GlfwKeyboard::UpdateKey ( InputKeyboardKey  key,
InputAction  action 
)

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