You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
479 B

#pragma once
#include <eez/core/unit.h>
namespace eez {
enum EncoderMode {
ENCODER_MODE_MIN,
ENCODER_MODE_AUTO = ENCODER_MODE_MIN,
ENCODER_MODE_STEP1,
ENCODER_MODE_STEP2,
ENCODER_MODE_STEP3,
ENCODER_MODE_STEP4,
ENCODER_MODE_STEP5,
ENCODER_MODE_MAX = ENCODER_MODE_STEP5
};
struct StepValues {
int count;
const float *values;
Unit unit;
struct {
bool accelerationEnabled;
float range;
float step;
EncoderMode mode;
} encoderSettings;
};
} // namespace eez