19 Commits

Author SHA1 Message Date
Glenn Maynard
9facc93548 8-bit FSR thresholds. 2019-04-23 21:17:49 -05:00
Glenn Maynard
05f4100d98 Add support for importing/exporting FSR thresholds to disk. 2019-04-18 19:19:33 -05:00
Glenn Maynard
6cc979b1dc Implement the V5 config packet. 2019-04-16 22:23:22 -05:00
Glenn Maynard
cce566624a Improve minimizing to tray, and restore the existing instance if SMXConfig is launched when it's already minimized to the tray. 2019-04-02 21:10:59 -05:00
Glenn Maynard
ec061d4223 Refactor uploading animations to allow uploading automatically instead of having a separate upload button, and iron out some inconsistencies. 2019-02-08 20:52:01 -06:00
Glenn Maynard
cc07e07649 Fix auto-lighting not reactivating quickly. 2019-01-18 19:46:19 -06:00
Glenn Maynard
84c467a485 Cleanup. 2019-01-01 18:00:27 -06:00
Glenn Maynard
478a0618fb Fix exception if ThresholdSlider refreshes when no pads are active.
GetFirstActivePadConfig returns a dummy config if nothing is connected, which
didn't have any of its arrays created.  Fill in dummy arrays for enabledSensors,
etc. so refreshes don't throw exceptions if they're updated right when the
last controller disconnects.  (This is a rare race condition and I've only
seen it while stepping in the debugger and disconnecting while stopped.)
2018-12-29 22:10:27 -06:00
Glenn Maynard
776baf1aca Set all lights in the UI when previewing light colors. 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
42a99e775b Allow launching on startup.
If this is used to play GIF animations on the pad, being able to have
it launch on startup is useful.

This is disabled by default and there's no UI to enable it yet.
2018-12-09 16:11:12 -06:00
Glenn Maynard
135e3c5401 Add a UI to set panel animations.
This is driven by the config tool, which needs to stay running.
2018-12-09 16:11:12 -06:00
Glenn Maynard
bceca77016 Fix AutoLightsColorRefreshColor calling SetColor with an incomplete array.
This could cause access violations, because it calls the native SMX_SetColor
with a color array that's too small.
2018-12-09 16:10:45 -06:00
Glenn Maynard
6e09b2ea53 Fix the auto-lights preview when dragging the color slider being dimmer than the actual auto-lights. 2018-11-08 19:13:35 -06:00
Glenn Maynard
a18df41e49 Fix calls to ActivePads() causing exceptions in design mode. 2018-11-08 19:13:35 -06:00
Glenn Maynard
3d6eb112e6 Add a separate sanity check for SMX.dll existing, since Windows gives the same error if a DLL is missing or one of its dependencies is missing. 2018-06-07 17:24:36 -05:00
Glenn Maynard
913f740113 Allow configuring two pads together (the existing behavior), or selecting a single pad from a dropdown to configure them separately. 2018-04-23 19:51:15 -05:00
Glenn Maynard
9ed01c29ba Implement exporting and importing platform settings to a file. 2018-04-21 17:40:39 -05:00
Glenn Maynard
57379383c0 Import for release. 2017-12-15 02:55:34 -06:00