Subversion Repositories Projects

Rev

Rev 130 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
140 ligi 1
#if !defined(JOYDEV_HANDLER_H)
2
#define JOYDEV_HANDLER_H
3
 
130 ligi 4
#include <linux/joystick.h>
140 ligi 5
#include <stdio.h>
6
#include <stdlib.h>
7
#include <fcntl.h>
8
#include "config.h"
9
 
10
extern int *axis;
11
extern char *button;
12
 
13
 
14
 
15
int joy_input_fd;
16
int num_of_axis,num_of_buttons;
17
 
18
char *button_trigger;
19
char name_of_joystick[80];
20
 
21
 
22
int connect_joy();
23
 
24
#endif