Package | Description |
---|---|
org.chabala.brick.controllab |
Library for controlling the LEGO® control lab interface.
|
org.chabala.brick.controllab.sensor |
Contains listeners, events, and event values for the input ports
and sensor specific subclasses to interpret the values.
|
Modifier and Type | Method and Description |
---|---|
static InputId |
InputId.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputId[] |
InputId.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Input |
ControlLab.getInput(InputId inputId)
Return a handle for the input specified on this control lab instance.
|
Modifier and Type | Method and Description |
---|---|
InputId |
SensorEvent.getInput()
The input port that triggered this event.
|
Constructor and Description |
---|
SensorEvent(InputId input,
byte[] oldValue,
byte[] newValue,
T value)
Constructs a SensorEvent.
|
Copyright © 2016–2023. All rights reserved.