From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/gamepad/gamepad.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/detection/gamepad/gamepad.h (limited to 'src/detection/gamepad/gamepad.h') diff --git a/src/detection/gamepad/gamepad.h b/src/detection/gamepad/gamepad.h new file mode 100644 index 0000000..f26def9 --- /dev/null +++ b/src/detection/gamepad/gamepad.h @@ -0,0 +1,11 @@ +#pragma once + +#include "fastfetch.h" + +typedef struct FFGamepadDevice { + FFstrbuf serial; + FFstrbuf name; + uint8_t battery; // 0-100% +} FFGamepadDevice; + +const char* ffDetectGamepad(FFlist* devices /* List of FFGamepadDevice */); -- cgit v1.2.3