joyctrl.h File Reference

Library for using joysticks. More...

#include <carmen/carmen.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <linux/joystick.h>

Go to the source code of this file.

Data Structures

struct  carmen_joystick_type

Defines

#define CARMEN_JOYSTICK_DEVICE   "/dev/js0"
#define CARMEN_JOYSTICK_DEADSPOT   1
#define CARMEN_JOYSTICK_DEADSPOT_SIZE   0.2

Functions

void carmen_set_deadspot (carmen_joystick_type *joystick, int on_off, double size)
int carmen_initialize_joystick (carmen_joystick_type *joystick)
int carmen_get_joystick_state (carmen_joystick_type *joystick)
void carmen_close_joystick (carmen_joystick_type *joystick)
void carmen_joystick_control (carmen_joystick_type *joystick, double max_tv, double max_rv, double *tv, double *rv)


Detailed Description

Library for using joysticks.

...

Definition in file joyctrl.h.


Generated on Wed Apr 5 18:34:18 2006 for CARMEN by  doxygen 1.4.4