Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
mouse.hpp File Reference

Mouse buttons, and the state of the mouse during a frame. More...

#include <aegis2d/core/math.hpp>
#include <aegis2d/platform/export.hpp>
#include <bitset>
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Classes

class  aegis2d::platform::Mouse
 Position of the mouse, buttons held, and those pressed or released and the wheel turned since the start of the frame. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::platform
 Window and input on top of SDL3, independent of the graphics API (client only).
 

Enumerations

enum class  aegis2d::platform::MouseButton : std::uint8_t {
  aegis2d::platform::Left , aegis2d::platform::Middle , aegis2d::platform::Right , aegis2d::platform::X1 ,
  aegis2d::platform::X2
}
 Buttons of a mouse. More...
 

Variables

constexpr std::size_t aegis2d::platform::mouse_button_count = static_cast<std::size_t>(MouseButton::X2) + 1
 Number of MouseButton values.
 

Detailed Description

Mouse buttons, and the state of the mouse during a frame.