ThinkPad

class to allow you to access various internal sensors of your ThinkPad.

Inherits from:: Object : Laptop

This is a subclass of Laptop, to access internals of a ThinkPad (it has been tested on a T61).

Accessing Instance and Class Variables

myInit
initalizes the keyboard, touchpad, trackpoint and hard disk acceleration sensor.
initTrackpoint
Initializes the trackpoint.
trackpoint
The trackpoint as a GeneralHIDDevice.
initHdaps
Initializes the hard disk acceleration sensor.
hdaps
The hard disk acceleration sensor, as a GeneralHIDDevice.

Example

// create an instance:
t = ThinkPad.new;
// show all data in a GUI:
t.internals.makeGui;

// Sometimes motionstrackosc takes longer to start
// and you have to ensure that you are subscribed
// to the directional data from the camera.
t.camera.subscribeDir(1)

t[\keyVal].value; // KeyValue (keycode, normalised between 0 and 1)

t[\temp1].value;  // Temperature at sensor 1

// see SWDataNetwork for more info on how to use the DataNetwork.

This helpfile was created with the class HelpFile2