Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::InputEvent Struct Reference

#include <input.h>

Public Attributes

InputKind kind = InputKind::PointerMove
PointerButton button = PointerButton::Left
int32_t x = 0
int32_t y = 0
int32_t wheelSteps = 0
uint32_t key = 0
bool shift = false

Detailed Description

Definition at line 22 of file input.h.

Member Data Documentation

◆ button

PointerButton bicameral::InputEvent::button = PointerButton::Left

Definition at line 26 of file input.h.

Referenced by bicameral::render::DebugViewController::HandlePointer().

◆ key

uint32_t bicameral::InputEvent::key = 0

◆ kind

◆ shift

bool bicameral::InputEvent::shift = false

◆ wheelSteps

int32_t bicameral::InputEvent::wheelSteps = 0

Definition at line 29 of file input.h.

◆ x

int32_t bicameral::InputEvent::x = 0

Definition at line 27 of file input.h.

Referenced by bicameral::render::DebugViewController::HandlePointer().

◆ y

int32_t bicameral::InputEvent::y = 0

Definition at line 28 of file input.h.

Referenced by bicameral::render::DebugViewController::HandlePointer().


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