Structs§
- Authentication
- Credentials for authenticating with the lighthouse.
- Board
V1Metrics - Client
Message - A message originating from the lighthouse client.
- Color
- An RGB color.
- Controller
V2Metrics - Directory
Tree - The payload of a LIST request.
- Frame
- An ‘image’ to be displayed on the lighthouse. The pixels are stored in row-major order.
- Gamepad
Axis2D Event - A 2D axis event on a gamepad.
- Gamepad
Axis Event - A 1D axis event on a gamepad.
- Gamepad
Button Event - A button event on a gamepad.
- Gamepad
Event - A gamepad/controller event.
- KeyEvent
- A keyboard event.
- KeyModifiers
- A keyboard event.
- Lamp
V2Metrics - Laser
Metrics - Legacy
Input Event - A keyboard/controller input event, as generated by the new frontend (LUNA) in “Legacy Mode” (or the old website).
- Mouse
Event - A mouse event.
- Rect
- A rectangle on the integer grid.
- Room
Metrics - Room
V1Metrics - Room
V2Metrics - Rotation
- An 2D rotation that is representable using an integer matrix.
- Server
Message - A message originating from the lighthouse server.
- Vec2
- A 2D vector.
Enums§
- Direction
- One of the four cardinal directions.
- Event
Source - An identifier that is unique per client + device combo.
- Gamepad
Control Event - A control-specific event on a gamepad.
- Input
Event - A user input event, as generated by the new frontend (LUNA).
- Model
- The payload of a model message.
- Mouse
Button - A mouse button.
- Room
ApiMetrics - Value
- Represents any valid MessagePack value.
- Value
Error - Verb
- A request method.
Constants§
- LIGHTHOUSE_
BYTES - The total number of bytes in a lighthouse frame.
- LIGHTHOUSE_
COLS - The number of columns of the lighthouse.
- LIGHTHOUSE_
RECT - The rectangle of valid coordinates on the lighthouse.
- LIGHTHOUSE_
ROWS - The number of rows of the lighthouse.
- LIGHTHOUSE_
SIZE - The number of pixels in a lighthouse frame.
Traits§
- RemEuclid
- A type that supports Euclidean modulo.
- Sqrt
- A type whose values have a square root.
- Unity
- A type that has positive and negative unit values.
- Zero
- A type that has a zero value.
Functions§
- from_
value - to_
value - Convert a
T
intormpv::Value
which is an enum that can represent any valid MessagePack data.