Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 129 → Rev 130

/Riddim/riddim.h
13,9 → 13,15
#include <confuse.h>
#include <string.h>
 
 
// for configuration file parsing
#include "config.h"
// for measuring
#include "statistics.h"
// for understanding the FC
#include "fc.h"
#include "bluetooth_handler.h"
#include "evdev_handler.h"
 
#include <stdio.h>
#include <stdlib.h>
28,15 → 34,13
 
 
#include <sys/time.h>
#include <bluetooth/rfcomm.h>
 
 
#include <linux/joystick.h>
 
 
 
 
#include <errno.h>
 
#include <sys/types.h>
#include <netinet/in.h>
#include <unistd.h>//for close() for socket
48,6 → 52,11
int act_gas=0;
int act_mode=0;
 
 
 
#define FALSE 0
#define TRUE 1
 
#define JOY_DEV "/dev/input/js0"
 
 
56,6 → 65,7
#define STATEID_SCANNING 0
#define STATEID_CONNECTING 1
 
 
#define BUTTON_SELECT 26
#define BUTTON_DOWN 28
#define BUTTON_UP 27