Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::PressReleaseActions Class Reference

#include <SceneInputActions.h>

Classes

struct  Entry
 

Public Types

enum class  Action : U8 { PRESS = 0 , RELEASE , COUNT }
 
enum class  Modifier : U8 {
  LEFT_CTRL , RIGHT_CTRL , LEFT_ALT , RIGHT_ALT ,
  LEFT_SHIFT , RIGHT_SHIFT , COUNT
}
 

Public Member Functions

void clear () noexcept
 
bool add (const Entry &entry)
 
 PROPERTY_R (vector< Entry >, entries)
 

Static Public Attributes

static constexpr Input::KeyCode s_modifierMappings [to_base(Modifier::COUNT)]
 
static constexpr const char * s_modifierNames [to_base(Modifier::COUNT)]
 

Detailed Description

Definition at line 63 of file SceneInputActions.h.

Member Enumeration Documentation

◆ Action

Enumerator
PRESS 
RELEASE 
COUNT 

Definition at line 65 of file SceneInputActions.h.

◆ Modifier

Enumerator
LEFT_CTRL 
RIGHT_CTRL 
LEFT_ALT 
RIGHT_ALT 
LEFT_SHIFT 
RIGHT_SHIFT 
COUNT 

Definition at line 71 of file SceneInputActions.h.

Member Function Documentation

◆ add()

bool Divide::PressReleaseActions::add ( const Entry entry)

Definition at line 66 of file SceneInputActions.cpp.

◆ clear()

void Divide::PressReleaseActions::clear ( )
noexcept

Definition at line 60 of file SceneInputActions.cpp.

◆ PROPERTY_R()

Divide::PressReleaseActions::PROPERTY_R ( vector< Entry ,
entries   
)

Member Data Documentation

◆ s_modifierMappings

◆ s_modifierNames

constexpr const char* Divide::PressReleaseActions::s_modifierNames[to_base(Modifier::COUNT)]
staticconstexpr
Initial value:
= {
"LCtrl", "RCtrl", "LAlt", "RAlt", "LShift", "RShift"
}

Definition at line 90 of file SceneInputActions.h.


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