Glenn Maynard
672541015f
Add SMX_SetOnlySendLightsOnChange for smx-panel-test.
2019-07-18 20:25:47 -05:00
Glenn Maynard
69b2239922
Refactor SMXManager::SendLightUpdates to queue multiple lights commands if possible.
...
This also fixes a memory leak if lights are queued too quickly.
2019-07-18 20:25:47 -05:00
Glenn Maynard
ce261c1ecb
Add internal support for panel test modes, and rename "test mode" to "sensor test mode" to make the distinction clearer.
2019-02-06 20:01:06 -06:00
Glenn Maynard
cf02b97fe6
Rename m_aPendingCommands -> m_aPendingLightsCommands.
...
This only buffers lights commands, not all commands.
2018-12-09 16:11:12 -06:00
Glenn Maynard
39cfc8cee0
Add support for uploading animations to the panel, if it supports it.
2018-12-09 16:11:12 -06:00
Glenn Maynard
303283624a
Add SMX_SetLights2.
...
This is the same as SMX_SetLights, but instead of taking one buffer with a
fixed size, it takes a separate buffer for each pad, and explicitly includes
the size of the buffer rather than assuming it's 864 bytes. SMX_SetLights
and SMX_SetLights2 call into the same underlying update.
2018-12-09 16:10:45 -06:00
Glenn Maynard
2c07942478
Move the SMXManager from SMX to SMXManager.
2018-11-08 19:13:35 -06:00
Glenn Maynard
57379383c0
Import for release.
2017-12-15 02:55:34 -06:00