Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 140 → Rev 130

/Riddim/joy_handler.h
1,24 → 1,0
#if !defined(JOYDEV_HANDLER_H)
#define JOYDEV_HANDLER_H
 
#include <linux/joystick.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include "config.h"
 
extern int *axis;
extern char *button;
 
 
 
int joy_input_fd;
int num_of_axis,num_of_buttons;
 
char *button_trigger;
char name_of_joystick[80];
 
 
int connect_joy();
 
#endif