|
Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Represents a single input with a state represented by a signed 16bit integer. More...
#include <foray_input.hpp>
Public Member Functions | |
| virtual int16_t | State () const =0 |
| Axis id of the input. | |
Protected Member Functions | |
| InputAnalogue () | |
| InputAnalogue (InputDevice *device, int32_t id, std::string_view name, EAxis axis) | |
Protected Member Functions inherited from foray::osi::InputBase | |
| InputBase ()=default | |
| InputBase (InputDevice *device, int32_t id, std::string_view name) | |
Protected Attributes | |
| EAxis | mAxisId = {} |
Protected Attributes inherited from foray::osi::InputBase | |
| InputDevice * | mDevice = {} |
| Device providing this input. | |
| int32_t | mId = {} |
| std::string | mName = {} |
Represents a single input with a state represented by a signed 16bit integer.
|
inlineprotected |
|
inlineprotected |
|
pure virtual |
Axis id of the input.
Fetches the inputs current state
Implemented in foray::osi::InputDevice::AxisJoystick.
|
protected |