mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -133,6 +133,8 @@ void ffGenerateGamepadJsonResult(FF_MAYBE_UNUSED FFGamepadOptions* options, yyjs
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_GAMEPAD_MODULE_NAME,
|
||||
.description = "List (connected) gamepads",
|
||||
.initOptions = (void*) ffInitGamepadOptions,
|
||||
.destroyOptions = (void*) ffDestroyGamepadOptions,
|
||||
.parseJsonObject = (void*) ffParseGamepadJsonObject,
|
||||
.printModule = (void*) ffPrintGamepad,
|
||||
.generateJsonResult = (void*) ffGenerateGamepadJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user