Enabling accessibility and onscreen keyboard via config files and command line

This commit is contained in:
Pere Pujal i Carabantes 2011-03-01 09:34:09 +00:00
parent e254400690
commit 4a11638d09
3 changed files with 6 additions and 0 deletions

View file

@ -153,6 +153,8 @@ version, IMM(version)
wheelmouse, POSBOOL(wheely)
windowed, NEGBOOL(fullscreen)
windowsize, MULTI(parsertmp_windowsize)
mouse_accessibility, POSBOOL(mouseaccessibility)
onscreen_keyboard, POSBOOL(onscreen_keyboard)
%%
void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const char *opt, const char *restrict src)

View file

@ -51,6 +51,8 @@ struct cfginfo
const char *use_print_config;
const char *use_sound;
const char *wheely;
const char *mouseaccessibility;
const char *onscreen_keyboard;
};
#define CFGINFO_MAXOFFSET (sizeof(struct cfginfo))

View file

@ -21339,6 +21339,8 @@ static void setup_config(char *argv[])
SETBOOL(use_print_config);
SETBOOL(use_sound);
SETBOOL(wheely);
SETBOOL(mouseaccessibility);
SETBOOL(onscreen_keyboard);
#undef SETBOOL
if(tmpcfg.parsertmp_windowsize)