BtIcAbsRangeControl

BtIcAbsRangeControl — buzztards interaction controller single absolute range control

Synopsis

#include <libbtic/ic.h>

struct              BtIcAbsRangeControl;
BtIcAbsRangeControl * btic_abs_range_control_new        (const BtIcDevice *device,
                                                         const gchar *name,
                                                         guint id,
                                                         glong min,
                                                         glong max,
                                                         glong def);

Object Hierarchy

  GObject
   +----BtIcControl
         +----BtIcAbsRangeControl

Properties

  "def"                      glong                 : Read / Write / Construct Only
  "max"                      glong                 : Read / Write / Construct Only
  "min"                      glong                 : Read / Write / Construct Only
  "value"                    glong                 : Read / Write

Description

Absolute range control. The state of the hardware control can be read from BtIcAbsRangeControl:value.

Details

struct BtIcAbsRangeControl

struct BtIcAbsRangeControl;

buzztards interaction controller single trigger control


btic_abs_range_control_new ()

BtIcAbsRangeControl * btic_abs_range_control_new        (const BtIcDevice *device,
                                                         const gchar *name,
                                                         guint id,
                                                         glong min,
                                                         glong max,
                                                         glong def);

Create a new instance

device :

the device it belongs to

name :

human readable name

id :

unique identifier per device

min :

minimum value

max :

maximum value

def :

default value

Returns :

the new instance or NULL in case of an error

Property Details

The "def" property

  "def"                      glong                 : Read / Write / Construct Only

default control value.

Default value: 0


The "max" property

  "max"                      glong                 : Read / Write / Construct Only

maximum control value.

Default value: 2147483647


The "min" property

  "min"                      glong                 : Read / Write / Construct Only

minimum control value.

Default value: -2147483648


The "value" property

  "value"                    glong                 : Read / Write

control value.

Default value: 0