Berserk
Public Member Functions | Friends | List of all members
GlfwInput Class Referencefinal

Glfw input manager implementation. More...

#include <GlfwInput.hpp>

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

Public Member Functions

BRK_API GlfwInput ()
 
BRK_API ~GlfwInput () override=default
 
BRK_API Ref< MouseGetMouse () override
 
BRK_API Ref< KeyboardGetKeyboard () override
 
BRK_API Ref< JoystickGetJoystick () override
 
- Public Member Functions inherited from Input
virtual BRK_API ~Input ()=default
 

Friends

class GlfwWindowManager
 

Detailed Description

Glfw input manager implementation.

Constructor & Destructor Documentation

◆ GlfwInput()

BRK_NS_BEGIN GlfwInput::GlfwInput ( )

◆ ~GlfwInput()

BRK_API GlfwInput::~GlfwInput ( )
overridedefault

Member Function Documentation

◆ GetJoystick()

Ref< Joystick > GlfwInput::GetJoystick ( )
overridevirtual
Returns
First joystick device if presented; null if no device

Implements Input.

◆ GetKeyboard()

Ref< Keyboard > GlfwInput::GetKeyboard ( )
overridevirtual
Returns
Keyboard device if presented; null if no device

Implements Input.

◆ GetMouse()

Ref< Mouse > GlfwInput::GetMouse ( )
overridevirtual
Returns
Mouse device if presented; null if no device

Implements Input.

Friends And Related Function Documentation

◆ GlfwWindowManager

friend class GlfwWindowManager
friend

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