Joystick should now work.

This commit is contained in:
Pere Pujal i Carabantes 2011-05-27 21:14:15 +00:00
parent 21081427e3
commit 7041da207d
6 changed files with 890 additions and 599 deletions

View file

@ -155,6 +155,9 @@ windowed, NEGBOOL(fullscreen)
windowsize, MULTI(parsertmp_windowsize)
mouse-accessibility, POSBOOL(mouseaccessibility)
onscreen-keyboard, POSBOOL(onscreen_keyboard)
joystick-slowness, MULTI(joystick_slowness)
joystick-threshold, MULTI(joystick_lowthreshold)
joystick-maxsteps, MULTI(joystick_maxsteps)
%%
void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const char *opt, const char *restrict src)

View file

@ -52,7 +52,10 @@ struct cfginfo
const char *use_sound;
const char *wheely;
const char *mouseaccessibility;
const char *onscreen_keyboard;
const char *onscreen_keyboard;
const char *joystick_slowness;
const char *joystick_lowthreshold;
const char *joystick_maxsteps;
};
#define CFGINFO_MAXOFFSET (sizeof(struct cfginfo))

View file

@ -62,6 +62,9 @@ _tuxpaint()
--nolockfile \
--mouse-accessibility \
--onscreen-keyboard \
--joystick-slowness \
--joystick-threshold \
--joystick-maxsteps \
--colorfile' -- $cur ) )
# We don't accept filenames on the command-line yet -bjk 2009.09.09
# else

File diff suppressed because it is too large Load diff