summaryrefslogtreecommitdiffstats
path: root/src/modules/gamepad/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/gamepad/option.h')
-rw-r--r--src/modules/gamepad/option.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/gamepad/option.h b/src/modules/gamepad/option.h
new file mode 100644
index 0000000..64728c0
--- /dev/null
+++ b/src/modules/gamepad/option.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "common/option.h"
+#include "common/FFlist.h"
+
+typedef struct FFGamepadOptions {
+ FFModuleArgs moduleArgs;
+
+ FFlist ignores; // List of FFstrbuf
+ FFPercentageModuleConfig percent;
+} FFGamepadOptions;
+
+static_assert(sizeof(FFGamepadOptions) <= FF_OPTION_MAX_SIZE, "FFGamepadOptions size exceeds maximum allowed size");