Class: HID

HID

Provides an event that indicates when the HID reader has read something.

Events


valueChanged

Indicates that the HID read has read something.

Parameters:
Name Type Description
value miob.HIDData

new value read by the reader

Since:
  • 1.0 (WAT 1.0)
Example
hw.hid.valueChanged.connect(function(value) {
   console.log("Read '" + value.str + "' from HID");
});