13 Commits

Author SHA1 Message Date
Glenn Maynard
36b006028a Make SMXPanelAnimation stop temporarily if lights are set in another way.
This is a simple way of making it so things like the "light panels" button don't fight
with animations.
2020-03-29 23:36:27 -05:00
Glenn Maynard
102fe2f9f9 Make the platform lights slider update directly when dragged, so we can delay config updates.
This is just a safeguard to prevent hammering the EEPROM erase cycles.  It also
makes the platform slider update more smoothly (previously it would only update
at a few FPS since it was using config changes).
2019-10-03 20:27:37 -05:00
Glenn Maynard
baf9b47fe9 Add an internal API to assign serial numbers. 2019-09-17 23:40:47 -05:00
Glenn Maynard
672541015f Add SMX_SetOnlySendLightsOnChange for smx-panel-test. 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
3d5be3017b Add support for 25 light panels (SDK side). 2018-12-09 16:11:12 -06:00
Glenn Maynard
55443cccb8 Add SMX_SetLights2 to specify the buffer size explicitly. 2018-12-09 16:11:12 -06:00
Glenn Maynard
2628c078fa Add SMXPanelAnimation. 2018-12-09 16:11:10 -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
e57fa5d28e Add a version display based on the git tag. 2018-06-11 19:56:21 -05:00
Glenn Maynard
eb84ffe29d Fix SMX_GetConfig not returning a result.
This caused SMXConfig to think it was setting both controller configurations even
when only one was connected, which made the UI not refresh correctly if only P2
was connected.
2018-01-06 20:32:02 -06:00
Glenn Maynard
57379383c0 Import for release. 2017-12-15 02:55:34 -06:00