-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Channel Remap Tool #1895
base: master
Are you sure you want to change the base?
Add a Channel Remap Tool #1895
Conversation
peternewman
commented
Aug 28, 2023
•
edited
Loading
edited
- Rename to handle future universe level remapping?
- Add validation of duplicates/conflicts
- Add direct loop detection
- Add indirect loop detection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file format/contents could you some more explanatory comments
} | ||
|
||
uint16_t Channel() const { return m_channel + 1; } | ||
void Channel(uint16_t channel) { m_channel = channel - 1; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we limit the channel to valid channel numbers? it's a uint16 but values above 511 proabably don't make sense
@@ -133,6 +133,9 @@ examples/ola_latency.exe | |||
examples/ola_patch | |||
examples/ola_patch.exe | |||
examples/ola_ptch.exe | |||
examples/ola_patcher_remap | |||
examples/ola_patcher_remap.exe | |||
examples/ola_ptcher_remap.exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we have the file with the a
missing?
} | ||
|
||
~DmxRemap() { | ||
// TODO(Peter): Delete everything |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be implemented before merging