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