CoriEngine
Loading...
Searching...
No Matches
CoriMouseCodes.hpp File Reference
#include <string_view>
#include <magic_enum/magic_enum.hpp>
Include dependency graph for CoriMouseCodes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Cori
 Global engine namespace.
namespace  Cori::Core
 Core systems of the engine are here.

Macros

#define MAGIC_ENUM_RANGE_MIN   0
#define MAGIC_ENUM_RANGE_MAX   512

Typedefs

typedef enum Cori::Core::CoriMouseCode Cori::Core::CoriMouseKeycode
 An enum of all available mouse buttons.

Enumerations

enum  Cori::Core::CoriMouseCode {
  Cori::Core::CORI_MOUSEBUTTON_UNKNOWN = 0 , Cori::Core::CORI_MOUSEBUTTON_LEFT = 1 , Cori::Core::CORI_MOUSEBUTTON_MIDDLE = 2 , Cori::Core::CORI_MOUSEBUTTON_RIGHT = 3 ,
  Cori::Core::CORI_MOUSEBUTTON_X1 = 4 , Cori::Core::CORI_MOUSEBUTTON_X2 = 5
}
 An enum of all available mouse buttons. More...

Functions

static std::string Cori::Core::CoriGetKeyName (const CoriMouseKeycode code)

Macro Definition Documentation

◆ MAGIC_ENUM_RANGE_MAX

#define MAGIC_ENUM_RANGE_MAX   512

Definition at line 4 of file CoriMouseCodes.hpp.

◆ MAGIC_ENUM_RANGE_MIN

#define MAGIC_ENUM_RANGE_MIN   0

Definition at line 3 of file CoriMouseCodes.hpp.