Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
130 | ligi | 1 | #if !defined(CONFIG_H) |
2 | #define CONFIG_H |
||
3 | |||
4 | #include <confuse.h> |
||
5 | |||
6 | // values from config |
||
7 | extern char *input_evdev_name; |
||
140 | ligi | 8 | extern char *input_joydev_name; |
130 | ligi | 9 | extern char *bluetooth_mac; |
10 | extern int mk_socket_port; |
||
11 | extern int loop_delay; |
||
12 | |||
13 | extern double nick_mul; |
||
14 | extern double roll_mul; |
||
15 | extern double gier_mul; |
||
16 | extern double gas_mul; |
||
17 | |||
140 | ligi | 18 | extern double nick_add; |
19 | extern double roll_add; |
||
20 | extern double gier_add; |
||
21 | extern double gas_add; |
||
130 | ligi | 22 | |
23 | extern int rel_axis_nick; |
||
24 | extern int rel_axis_roll; |
||
25 | extern int rel_axis_gier; |
||
26 | extern int rel_axis_gas; |
||
27 | |||
28 | |||
29 | extern cfg_bool_t exit_after_init ; |
||
30 | |||
31 | |||
32 | |||
33 | int parse_config(char* fname); |
||
34 | |||
35 | #endif |