v1.2版本改为通过xbox系列手柄进行遥控,并增加智能模式和手动模式

This commit is contained in:
myperworld committed 2025-10-10 21:58:44 +08:00
1 parent 76603d3c31
commit 1a97bc32c3
1839 files changed
+478852 -3

No files matched your search

@@ -0,0 +1,53 @@
#pragma once
/// @file dll.h
/// FastLED dynamic library interface - lightweight header for external callers
#ifndef FASTLED_BUILD_EXPORTS
#define FASTLED_BUILD_EXPORTS 0
#endif
#if FASTLED_BUILD_EXPORTS
#include "export.h"
#ifdef __cplusplus
extern "C" {
#endif
/// Call the sketch's setup() function
/// @note This is the C ABI export for external sketch runners
FASTLED_EXPORT void sketch_setup(void);
/// Call the sketch's loop() function
/// @note This is the C ABI export for external sketch runners
FASTLED_EXPORT void sketch_loop(void);
#ifdef __cplusplus
}
#endif
// ================================================================================================
// IMPLEMENTATIONS (when building FastLED as shared library)
// ================================================================================================
#ifdef FASTLED_LIBRARY_SHARED
#ifdef __cplusplus
// Forward declarations - provided by sketch
extern void setup();
extern void loop();
// Provide implementations for the exported functions
FASTLED_EXPORT void sketch_setup() {
setup();
}
FASTLED_EXPORT void sketch_loop() {
loop();
}
#endif // __cplusplus
#endif // FASTLED_LIBRARY_SHARED
#endif // FASTLED_BUILD_EXPORTS