Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Member Functions | List of all members
foray::osi::InputDevice::ButtonKeyboard Class Reference

#include <foray_inputdevice.hpp>

Inheritance diagram for foray::osi::InputDevice::ButtonKeyboard:
foray::osi::InputBinary foray::osi::InputBase

Public Member Functions

 ButtonKeyboard ()
 
 ButtonKeyboard (InputDevice *device, int32_t id, std::string_view name, EButton button)
 
virtual bool State () const override
 Button id of the input.
 

Additional Inherited Members

- Protected Member Functions inherited from foray::osi::InputBinary
 InputBinary ()
 
 InputBinary (InputDevice *device, int32_t id, std::string_view name, EButton button)
 
- Protected Member Functions inherited from foray::osi::InputBase
 InputBase ()=default
 
 InputBase (InputDevice *device, int32_t id, std::string_view name)
 
- Protected Attributes inherited from foray::osi::InputBinary
EButton mButtonId = {}
 
- Protected Attributes inherited from foray::osi::InputBase
InputDevicemDevice = {}
 Device providing this input.
 
int32_t mId = {}
 
std::string mName = {}
 

Constructor & Destructor Documentation

◆ ButtonKeyboard() [1/2]

foray::osi::InputDevice::ButtonKeyboard::ButtonKeyboard ( )
inline

◆ ButtonKeyboard() [2/2]

foray::osi::InputDevice::ButtonKeyboard::ButtonKeyboard ( InputDevice device,
int32_t  id,
std::string_view  name,
EButton  button 
)
inline

Member Function Documentation

◆ State()

virtual bool foray::osi::InputDevice::ButtonKeyboard::State ( ) const
overridevirtual

Button id of the input.

Fetches the inputs current state

Implements foray::osi::InputBinary.


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