Joystick should now work.
This commit is contained in:
parent
21081427e3
commit
7041da207d
6 changed files with 890 additions and 599 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
1433
src/tuxpaint.c
1433
src/tuxpaint.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue