#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <fcntl.h>#include <sys/ioctl.h>#include <linux/joystick.h>#include <time.h>#include <math.h>#include <signal.h>#include <roboorte_robottype.h>#include <actuators.h>#include "joyd.h"
Defines | |
| #define | JOY_DEV "/dev/input/js0" |
| #define | VMAX 16000 |
| #define | JOY_NAME "Logitech Logitech Extreme 3D" |
Functions | |
| int | open_joystick (char *name, int *num_of_axis, int *num_of_buttons) |
| void | send_dummy_cb (const ORTESendInfo *info, void *vinstance, void *sendCallBackParam) |
| int | main (int argc, char *argv[]) |
Variables | |
| struct robottype_orte_data | orte |
| int | joy_fd |
| #define JOY_DEV "/dev/input/js0" |
| #define JOY_NAME "Logitech Logitech Extreme 3D" |
| #define VMAX 16000 |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |

| int open_joystick | ( | char * | name, | |
| int * | num_of_axis, | |||
| int * | num_of_buttons | |||
| ) |

| void send_dummy_cb | ( | const ORTESendInfo * | info, | |
| void * | vinstance, | |||
| void * | sendCallBackParam | |||
| ) |

| int joy_fd |
| struct robottype_orte_data orte |
1.7.1