combjs

diff gui/combjs.h @ 1:dd02002227a2

- added a few commandline arguments to combjs - trying to make a gui frontend
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 14 Jul 2011 15:40:20 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gui/combjs.h	Thu Jul 14 15:40:20 2011 +0300
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef COMBJS_H_
     1.5 +#define COMBJS_H_
     1.6 +
     1.7 +#include <vector>
     1.8 +#include <string>
     1.9 +
    1.10 +struct Joystick {
    1.11 +	std::string dev;
    1.12 +	std::string name;
    1.13 +	int num_axes, num_bn;
    1.14 +	bool isvirt;
    1.15 +};
    1.16 +
    1.17 +int enum_joysticks(std::vector<Joystick> *jsvec);
    1.18 +
    1.19 +#endif	/* COMBJS_H_ */