Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperepujal <perepujal>2011-07-29 21:44:30 (GMT)
committer perepujal <perepujal>2011-07-29 21:44:30 (GMT)
commit11c6a518d82b3fb263b0d80144e7b51d9109f1ca (patch)
tree4efca702c45633f8f0efc8d36bf7068d599bb25c
parente81339353b6af674b4dccd3e7996954ae8b2d717 (diff)
Forgot to commit those
-rw-r--r--src/parse.gperf18
-rw-r--r--src/parse.h19
2 files changed, 37 insertions, 0 deletions
diff --git a/src/parse.gperf b/src/parse.gperf
index fac111e..61ba6c5 100644
--- a/src/parse.gperf
+++ b/src/parse.gperf
@@ -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)
diff --git a/src/parse.h b/src/parse.h
index bd60219..209acb8 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -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))