class Mouse

Represents a single hardware mouse.

Used by the Input to report raw mouse input events.

Public

Constructors

Mouse

Mouse(const String &name, Input *owner)

Methods

~Mouse

~Mouse()

GetName

String GetName() const

Returns the name of the device.

Capture

void Capture()

Captures the input since the last call and triggers the events on the parent Input.

Private

Methods

ChangeCaptureContext

void ChangeCaptureContext(u64 windowHandle)

Changes the capture context.

Should be called when focus is moved to a new window.

Fields

mName

String mName

mOwner

Input * mOwner

m

Pimpl * m