LIDSlot:
Filter:
Classes | Platform > Linux | External Control > HID

LIDSlot : Object

Handles incoming LID data.
Source: LID.sc

Description

Class Methods

LIDSlot.slotTypeStrings

An IdentityDictionary mapping the evtTypes to descriptive strings.

Inherited class methods

Instance Methods

.postInfo

Post the slots properties in a nice, human readable way.

.debug

.debug = onoff

Turn on or off the debug posting for this slot.

.action

.action = value

Set the action for this slot.

.value

Get the current value of this slot, mapped according to its spec.

.spec

The ControlSpec to map this slots value.

.rawValue

.rawValue = inValue

Get the rawValue; the setter of this method is called from the primitive LID.prHandleEvent and should not be called by the user.

.next

Convenience method to use a LIDSlot in a pattern; this will call the value of the slot.

.createBus(server)

Create a bus on the server. The slot's value will automatically be set to this bus on the server.

Arguments:

server

The server on which to create the bus and forward the value to. By default this is Server.default

.bus

The bus on the server that this slot's value is mapped to.

.freeBus

Free the bus on the server and remove the action to forward the value.

.kr

JITLib support to access the bus in NodeProxy's. This will create the bus if it does not already exist.

.device

The device to which this slot belongs.

.type

The type of slot that this is.

.code

The eventCode for this slot.

.key

.key = value

The key by which this slot is known in the spec of the device.

Inherited instance methods

Examples