Subversion Repositories Projects

Rev

Rev 127 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 127 Rev 130
Line 11... Line 11...
11
 
11
 
12
// for config file parsing
12
// for config file parsing
13
#include <confuse.h>
13
#include <confuse.h>
Line -... Line 14...
-
 
14
#include <string.h>
-
 
15
 
-
 
16
 
-
 
17
// for configuration file parsing
-
 
18
#include "config.h" 
14
#include <string.h>
19
// for measuring
15
 
20
#include "statistics.h"
16
// for understanding the FC
21
// for understanding the FC
-
 
22
#include "fc.h"
Line 17... Line 23...
17
#include "fc.h"
23
#include "bluetooth_handler.h"
18
#include "bluetooth_handler.h"
24
#include "evdev_handler.h"
19
 
25
 
Line 26... Line 32...
26
 
32
 
Line 27... Line 33...
27
#include <sys/socket.h>
33
#include <sys/socket.h>
28
 
-
 
Line 29... Line -...
29
 
-
 
Line 30... Line -...
30
#include <sys/time.h>
-
 
Line -... Line 34...
-
 
34
 
31
#include <bluetooth/rfcomm.h>
35
 
32
 
36
#include <sys/time.h>
33
 
37
 
Line 46... Line 50...
46
int act_roll=0;
50
int act_roll=0;
47
int act_gier=0;
51
int act_gier=0;
48
int act_gas=0;
52
int act_gas=0;
49
int act_mode=0;
53
int act_mode=0;
Line -... Line 54...
-
 
54
 
-
 
55
 
-
 
56
 
-
 
57
#define FALSE 0
-
 
58
#define TRUE 1
50
 
59
 
Line 51... Line 60...
51
#define JOY_DEV "/dev/input/js0"
60
#define JOY_DEV "/dev/input/js0"
52
 
61
 
Line -... Line 62...
-
 
62
 
53
 
63
 
54
 
64
 
55
 
65
#define STATEID_SCANNING 0