Subversion Repositories Projects

Rev

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

Rev 130 Rev 140
Line 1... Line 1...
1
#include "config.h"
1
#include "config.h"
Line 2... Line 2...
2
 
2
 
-
 
3
 
Line 3... Line 4...
3
 
4
char *input_evdev_name;
Line 4... Line 5...
4
char *input_evdev_name;
5
char *input_joydev_name;
5
 
6
 
Line 14... Line 15...
14
double roll_mul=0.3f;
15
double roll_mul=0.3f;
15
double gier_mul=0.3f;
16
double gier_mul=0.3f;
16
double gas_mul=0.3f;
17
double gas_mul=0.3f;
Line -... Line 18...
-
 
18
 
-
 
19
 
-
 
20
double nick_add=0.3f;
-
 
21
double roll_add=0.3f;
-
 
22
double gier_add=0.3f;
-
 
23
double gas_add=0.3f;
17
 
24
 
18
 
25
 
19
int rel_axis_nick=1;
26
int rel_axis_nick=1;
20
int rel_axis_roll=0;
27
int rel_axis_roll=0;
Line 33... Line 40...
33
   
40
   
Line 34... Line 41...
34
    CFG_SIMPLE_STR("bluetooth_mac", &bluetooth_mac),    
41
    CFG_SIMPLE_STR("bluetooth_mac", &bluetooth_mac),    
35
 
42
 
-
 
43
    CFG_SIMPLE_BOOL("exit_after_init", &exit_after_init),
36
    CFG_SIMPLE_BOOL("exit_after_init", &exit_after_init),
44
    CFG_SIMPLE_STR("input_evdev", &input_evdev_name),
37
    CFG_SIMPLE_STR("input_evdev", &input_evdev_name),
45
    CFG_SIMPLE_STR("input_joydev", &input_joydev_name),
Line 38... Line 46...
38
    CFG_SIMPLE_INT("loop_delay", &loop_delay),
46
    CFG_SIMPLE_INT("loop_delay", &loop_delay),
39
    CFG_SIMPLE_INT("mk_socket_port", &mk_socket_port),
47
    CFG_SIMPLE_INT("mk_socket_port", &mk_socket_port),
40
   
48
   
41
    CFG_SIMPLE_FLOAT("nick_mul", &nick_mul),
49
    CFG_SIMPLE_FLOAT("nick_mul", &nick_mul),
-
 
50
    CFG_SIMPLE_FLOAT("roll_mul", &roll_mul),
-
 
51
    CFG_SIMPLE_FLOAT("gier_mul", &gier_mul),
-
 
52
    CFG_SIMPLE_FLOAT("gas_mul", &gas_mul),
-
 
53
 
-
 
54
    CFG_SIMPLE_FLOAT("nick_add", &nick_add),
Line 42... Line 55...
42
    CFG_SIMPLE_FLOAT("roll_mul", &roll_mul),
55
    CFG_SIMPLE_FLOAT("roll_add", &roll_add),
43
    CFG_SIMPLE_FLOAT("gier_mul", &gier_mul),
56
    CFG_SIMPLE_FLOAT("gier_add", &gier_add),
44
    CFG_SIMPLE_FLOAT("gas_mul", &gas_mul),
57
    CFG_SIMPLE_FLOAT("gas_add", &gas_add),
45
   
58
   
-
 
59
    CFG_SIMPLE_INT("rel_axis_nick", &rel_axis_nick),
-
 
60
    CFG_SIMPLE_INT("rel_axis_roll", &rel_axis_roll),
-
 
61
    CFG_SIMPLE_INT("rel_axis_gier", &rel_axis_gier),
Line 46... Line 62...
46
    CFG_SIMPLE_INT("rel_axis_nick", &rel_axis_nick),
62
    CFG_SIMPLE_INT("rel_axis_gas", &rel_axis_gas),
47
    CFG_SIMPLE_INT("rel_axis_roll", &rel_axis_roll),
63
 
Line 48... Line 64...
48
    CFG_SIMPLE_INT("rel_axis_gier", &rel_axis_gier),
64