|
|
|
@ -21,17 +21,17 @@
|
|
|
|
|
#include <Kaleidoscope.h>
|
|
|
|
|
|
|
|
|
|
namespace KaleidoscopePlugins {
|
|
|
|
|
namespace HostOS {
|
|
|
|
|
typedef enum {
|
|
|
|
|
namespace HostOS {
|
|
|
|
|
typedef enum {
|
|
|
|
|
LINUX,
|
|
|
|
|
OSX,
|
|
|
|
|
WINDOWS,
|
|
|
|
|
OTHER,
|
|
|
|
|
|
|
|
|
|
AUTO = 0xff,
|
|
|
|
|
} Type;
|
|
|
|
|
} Type;
|
|
|
|
|
|
|
|
|
|
class Base : public KaleidoscopePlugin {
|
|
|
|
|
class Base : public KaleidoscopePlugin {
|
|
|
|
|
public:
|
|
|
|
|
virtual void begin (void) final;
|
|
|
|
|
|
|
|
|
@ -45,8 +45,8 @@ namespace KaleidoscopePlugins {
|
|
|
|
|
private:
|
|
|
|
|
uint16_t eepromSlice;
|
|
|
|
|
bool isConfigured = false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern KaleidoscopePlugins::HostOS::Base HostOS;
|
|
|
|
|