Subversion Repositories Projects

Rev

Rev 130 | Blame | Last modification | View Log | RSS feed

#if !defined(CONFIG_H)
#define CONFIG_H

#include <confuse.h>

// values from config
extern char *input_evdev_name;
extern char *input_joydev_name;
extern char *bluetooth_mac;
extern int  mk_socket_port;
extern int  loop_delay;

extern double nick_mul;
extern double roll_mul;
extern double gier_mul;
extern double gas_mul;

extern double nick_add;
extern double roll_add;
extern double gier_add;
extern double gas_add;

extern int rel_axis_nick;
extern int rel_axis_roll;
extern int rel_axis_gier;
extern int rel_axis_gas;


extern cfg_bool_t exit_after_init ;



int parse_config(char* fname);

#endif