25 Commits

Author SHA1 Message Date
Glenn Maynard
baa66fc551 Select an enabled panel in the panel color UI by default.
This fixes the default always being up-left (which is usually disabled),
causing the color slider to not do anything until you select a different
panel.
2018-12-09 16:10:45 -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
4c0da63842 Add debounceDelayMs.
This isn't turned on, this is just to sync up the config packet with the
firmware.
2018-12-09 16:10:44 -06:00
Glenn Maynard
7a4bbc6eab Pad the configuration struct to 250 bytes, so the SDK.DLL ABI doesn't change when fields are added. 2018-12-09 16:10:16 -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
2c07942478 Move the SMXManager from SMX to SMXManager. 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
5f627b1b55 Fix the debug build. 2018-10-19 22:40:02 -05:00
Glenn Maynard
65f4a7102c Check for out of sequence PACKET_FLAG_START_OF_COMMAND.
This improves recovery if a start packet is received when we didn't receive a complete
packet earlier.  This doesn't normally happen, this just matches the error recovery used
in game.
2018-10-19 18:55:50 -05:00
Glenn Maynard
e57fa5d28e Add a version display based on the git tag. 2018-06-11 19:56:21 -05: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
8ea8070d51 Some disabled logs for testing (disabled because they're noisy). 2018-06-07 16:06:50 -05:00
Glenn Maynard
5d1e4c85fe Add an early check for SMX.dll not loading. 2018-06-07 16:02:24 -05:00
Glenn Maynard
f321b7228d Remove unused SetUpdateCallback. We set the update callback on start. 2018-06-07 15:57:36 -05:00
Glenn Maynard
d7f94fa99f Add a default exception handler. The default Windows one doesn't always show a message properly. 2018-06-06 23:22:51 -05:00
Glenn Maynard
78d6be9341 Fix up ssprintf. 2018-06-01 18:15:29 -05:00
Glenn Maynard
9b6eb07e0b Add more logs for device connections. 2018-06-01 18:15:28 -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
2d8d7c0be1 Committing various trivial changes that MSVC decided to make after updating. 2018-04-21 02:19:20 -05:00
Glenn Maynard
a1281218bb Increase the minimum difference between the upper and lower thresholds to 10.
Having this at 5 is causing confusion, since the hardware isn't actually designed
to have the thresholds so close together.  This was set to 5 for internal testing,
but it's not actually useful to have them so close together.  The thresholds exist
to prevent ghosting and strobing on the panels, and putting the thresholds very
close together prevents them from doing that.
2018-04-19 16:55:43 -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
4610748374 Add a contact address for support. 2017-12-18 21:23:07 -06:00
Glenn Maynard
57379383c0 Import for release. 2017-12-15 02:55:34 -06:00
Glenn Maynard
364b82e27c Empty initial commit. 2017-12-14 20:00:56 -06:00