Forgot to commit those

This commit is contained in:
Pere Pujal i Carabantes 2011-07-29 21:44:30 +00:00
parent f362d1cb2f
commit a9d0372e14
2 changed files with 37 additions and 0 deletions

View file

@ -158,6 +158,24 @@ onscreen-keyboard, POSBOOL(onscreen_keyboard)
joystick-slowness, MULTI(joystick_slowness)
joystick-threshold, MULTI(joystick_lowthreshold)
joystick-maxsteps, MULTI(joystick_maxsteps)
joystick-hat-slowness, MULTI(joystick_hat_slowness)
joystick-hat-timeout, MULTI(joystick_hat_timeout)
joystick-btn-escape, MULTI(joystick_button_escape)
joystick-btn-brush, MULTI(joystick_button_selectbrushtool)
joystick-btn-stamp, MULTI(joystick_button_selectstamptool)
joystick-btn-lines, MULTI(joystick_button_selectlinestool)
joystick-btn-shapes, MULTI(joystick_button_selectshapestool)
joystick-btn-text, MULTI(joystick_button_selecttexttool)
joystick-btn-label, MULTI(joystick_button_selectlabeltool)
joystick-btn-magic, MULTI(joystick_button_selectmagictool)
joystick-btn-undo, MULTI(joystick_button_undo)
joystick-btn-redo, MULTI(joystick_button_redo)
joystick-btn-eraser, MULTI(joystick_button_selecterasertool)
joystick-btn-new, MULTI(joystick_button_new)
joystick-btn-open, MULTI(joystick_button_open)
joystick-btn-save, MULTI(joystick_button_save)
joystick-btn-pgsetup, MULTI(joystick_button_pagesetup)
joystick-btn-print, MULTI(joystick_button_print)
%%
void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const char *opt, const char *restrict src)

View file

@ -59,6 +59,25 @@ struct cfginfo
const char *joystick_slowness;
const char *joystick_lowthreshold;
const char *joystick_maxsteps;
const char *joystick_hat_slowness;
const char *joystick_hat_timeout;
const char *joystick_button_escape;
const char *joystick_button_selectbrushtool;
const char *joystick_button_selectstamptool;
const char *joystick_button_selectlinestool;
const char *joystick_button_selectshapestool;
const char *joystick_button_selecttexttool;
const char *joystick_button_selectlabeltool;
const char *joystick_button_selectmagictool;
const char *joystick_button_undo;
const char *joystick_button_redo;
const char *joystick_button_selecterasertool;
const char *joystick_button_new;
const char *joystick_button_open;
const char *joystick_button_save;
const char *joystick_button_pagesetup;
const char *joystick_button_print;
};
#define CFGINFO_MAXOFFSET (sizeof(struct cfginfo))