Method: Phidgets::CurrentInput#initialize

Defined in:
ext/phidgets/phidgets_current_input.c

#newObject

Creates a Phidget CurrentInput object.



7
8
9
10
11
# File 'ext/phidgets/phidgets_current_input.c', line 7

VALUE ph_current_input_init(VALUE self) {
  ph_data_t *ph = get_ph_data(self);
  ph_raise(PhidgetCurrentInput_create((PhidgetCurrentInputHandle *)(&(ph->handle))));
  return self;
}