Berserk
Public Member Functions | List of all members
Input Class Referenceabstract

Engine input manager. More...

#include <Input.hpp>

Inheritance diagram for Input:
Inheritance graph
[legend]

Public Member Functions

virtual BRK_API ~Input ()=default
 
virtual BRK_API Ref< MouseGetMouse ()=0
 
virtual BRK_API Ref< KeyboardGetKeyboard ()=0
 
virtual BRK_API Ref< JoystickGetJoystick ()=0
 

Detailed Description

Engine input manager.

Constructor & Destructor Documentation

◆ ~Input()

virtual BRK_API Input::~Input ( )
virtualdefault

Member Function Documentation

◆ GetJoystick()

virtual BRK_API Ref<Joystick> Input::GetJoystick ( )
pure virtual
Returns
First joystick device if presented; null if no device

Implemented in GlfwInput.

◆ GetKeyboard()

virtual BRK_API Ref<Keyboard> Input::GetKeyboard ( )
pure virtual
Returns
Keyboard device if presented; null if no device

Implemented in GlfwInput.

◆ GetMouse()

virtual BRK_API Ref<Mouse> Input::GetMouse ( )
pure virtual
Returns
Mouse device if presented; null if no device

Implemented in GlfwInput.


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