BtIcInputDevice

BtIcInputDevice — buzztards interaction controller input device

Synopsis

#include <libbtic/ic.h>

struct              BtIcInputDevice;
BtIcInputDevice *   btic_input_device_new               (const gchar *udi,
                                                         const gchar *name,
                                                         const gchar *devnode);

Description

Event handling for input devices (joystick,hdaps,wiimote).

Details

struct BtIcInputDevice

struct BtIcInputDevice {
  const BtIcDevice parent;
};

buzztards interaction controller registry


btic_input_device_new ()

BtIcInputDevice *   btic_input_device_new               (const gchar *udi,
                                                         const gchar *name,
                                                         const gchar *devnode);

Create a new instance

udi :

the udi of the device

name :

human readable name

devnode :

device node in filesystem

Returns :

the new instance or NULL in case of an error