EHS
|
#include <Mouse.h>
Public Member Functions | |
Mouse () | |
Mouse (Str_8 name, UInt_64 id) | |
Mouse (Mouse &&hid) noexcept=default | |
Mouse (const Mouse &hid) | |
Mouse & | operator= (Mouse &&hid) noexcept=default |
Mouse & | operator= (const Mouse &hid) |
void | Poll (float delta) override |
void | SetDelta (const Vec2_s32 &newDelta) |
Vec2_s32 | GetDelta () const |
Mouse * | Clone () const override |
![]() | |
HID () | |
HID (UInt_8 type, Str_8 name, UInt_64 id) | |
HID (HID &&hid) noexcept | |
HID (const HID &hid) | |
HID & | operator= (HID &&hid) noexcept |
HID & | operator= (const HID &hid) |
bool | operator== (const HID &other) const |
bool | operator!= (const HID &other) const |
bool | operator== (UInt_64 otherId) const |
bool | operator!= (UInt_64 otherId) const |
UInt_8 | GetType () const |
Str_8 | GetName () const |
UInt_64 | GetId () const |
void | ReleaseAll () |
Vector< const ButtonState * > | GetAllTouched () const |
const ButtonState * | IsTouched (const Button &button) const |
const ButtonState * | IsTouched () const |
Vector< const ButtonState * > | GetAllDown () const |
const ButtonState * | IsDown (const Button &button) const |
const ButtonState * | IsDown () const |
Vector< const ButtonState * > | GetAllJustReleased () const |
const ButtonState * | IsJustReleased (const Button &button) const |
const ButtonState * | IsJustReleased () const |
Vector< const ButtonState * > | GetAllUp () const |
const ButtonState * | IsUp (const Button &button) const |
const ButtonState * | IsUp () const |
const ButtonState * | IsPressed (const Button &button) |
const ButtonState * | GetPressed () |
void | ButtonDown (const Button &button) |
void | ButtonUp (const Button &button) |
const ButtonState * | GetState (const Button &button) const |
bool | IsValid () const |
Static Public Member Functions | |
static Button | TranslateXCB (const UInt_32 code) |
Static Public Attributes | |
static const Button | Unknown |
static const Button | LMB |
static const Button | MMB |
static const Button | RMB |
static const Button | Four |
static const Button | Five |
static const Button | ScrollUp |
static const Button | ScrollDown |
static const Button | ScrollLeft |
static const Button | ScrollRight |
static const Button | Back |
static const Button | Forward |
Friends | |
class | Input |
Additional Inherited Members | |
![]() | |
UInt_8 | type |
UInt_64 | hashName |
Str_8 | name |
UInt_64 | id |
Array< ButtonState > | states |
Button | lastState |
float | heldTime |
float | activateTime |
bool | active |
ehs::Mouse::Mouse | ( | ) |
ehs::Mouse::Mouse | ( | Str_8 | name, |
UInt_64 | id ) |
|
defaultnoexcept |
ehs::Mouse::Mouse | ( | const Mouse & | hid | ) |
Vec2_s32 ehs::Mouse::GetDelta | ( | ) | const |
|
overridevirtual |
Reimplemented from ehs::HID.
void ehs::Mouse::SetDelta | ( | const Vec2_s32 & | newDelta | ) |
|
friend |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |