diff options
| author | Selene ToyKeeper | 2023-05-30 06:17:01 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-05-30 06:17:01 -0600 |
| commit | 83e7dc7cc45e789b819c1dec2f419252ebdf5eae (patch) | |
| tree | ed14ebcbc4d3b16436d2025defe77b63c6533952 /hwdef-noctigon-kr4.h | |
| parent | gradual adjustments: handle 0-to-255 in one step on the way up too, not just ... (diff) | |
| download | anduril-83e7dc7cc45e789b819c1dec2f419252ebdf5eae.tar.gz anduril-83e7dc7cc45e789b819c1dec2f419252ebdf5eae.tar.bz2 anduril-83e7dc7cc45e789b819c1dec2f419252ebdf5eae.zip | |
synced configs between D4v2 and KR4
Diffstat (limited to 'hwdef-noctigon-kr4.h')
| -rw-r--r-- | hwdef-noctigon-kr4.h | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/hwdef-noctigon-kr4.h b/hwdef-noctigon-kr4.h index d6c33ff..806aeab 100644 --- a/hwdef-noctigon-kr4.h +++ b/hwdef-noctigon-kr4.h @@ -48,30 +48,48 @@ // channel modes: // * 0. linear + DD FET stacked // * 1. aux red -// * 2. aux green -// * 3. aux blue -#define NUM_CHANNEL_MODES 4 -#define CM_MAIN 0 -#define CM_AUXRED 1 -#define CM_AUXGRN 2 -#define CM_AUXBLU 3 - -#define DEFAULT_CHANNEL_MODE CM_MAIN +// * 2. aux yellow +// * 3. aux green +// * 4. aux cyan +// * 5. aux blue +// * 6. aux purple +// * 7. aux white +#define NUM_CHANNEL_MODES 8 +enum CHANNEL_MODES { + CM_MAIN = 0, + CM_AUXRED, + CM_AUXYEL, + CM_AUXGRN, + CM_AUXCYN, + CM_AUXBLU, + CM_AUXPRP, + CM_AUXWHT, +}; + +#define DEFAULT_CHANNEL_MODE CM_MAIN #define CHANNEL_MODES_ENABLED 0b00000001 #define CHANNEL_HAS_ARGS 0b00000000 // no args //#define USE_CHANNEL_MODE_ARGS -//#define CHANNEL_MODE_ARGS 0,0,0,0 +//#define CHANNEL_MODE_ARGS 0,0,0,0,0,0,0,0 #define SET_LEVEL_MODES set_level_main, \ set_level_auxred, \ + set_level_auxyel, \ set_level_auxgrn, \ - set_level_auxblu + set_level_auxcyn, \ + set_level_auxblu, \ + set_level_auxprp, \ + set_level_auxwht // gradual ticking for thermal regulation #define GRADUAL_TICK_MODES gradual_tick_main, \ gradual_tick_null, \ gradual_tick_null, \ + gradual_tick_null, \ + gradual_tick_null, \ + gradual_tick_null, \ + gradual_tick_null, \ gradual_tick_null |
