Subversion Repositories Projects


Rev 140 | Go to most recent revision | Blame | Compare with Previous | 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 *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 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);