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).
5 years ago
Glenn Maynard
dbb4ecc530
Refactor the way threshold sliders are associated with sensors.
...
This makes it possible to have sliders that influence arbitrary sensors.
5 years ago
Glenn Maynard
ae25ed327a
Fix AreUnifiedThresholdsSynced modifying config.
5 years ago
Glenn Maynard
bbb49b6ae4
Show a warning if the low FSR threshold is set too low.
5 years ago
Glenn Maynard
27be716768
Add disabled combined thresholds.
5 years ago
Glenn Maynard
9facc93548
8-bit FSR thresholds.
6 years ago
Glenn Maynard
6cc979b1dc
Implement the V5 config packet.
6 years ago
Glenn Maynard
0184e46022
Make sure GetConfig returns a valid stub SMXConfig if the DLL isn't present.
6 years ago
Glenn Maynard
00271c3e15
Rename iBadJumper to iWrongSensorJumper.
6 years ago
Glenn Maynard
23ef413d91
Only show enabled panels in the diagnostics tab.
6 years ago
Glenn Maynard
1b01f53796
Add an option to enable or disable lighting on panels with no sensors.
6 years ago
Glenn Maynard
f35f596cee
Update the config block with new fields.
6 years ago
Glenn Maynard
ec061d4223
Refactor uploading animations to allow uploading automatically instead of having a separate upload button, and iron out some inconsistencies.
6 years ago
Glenn Maynard
74f94c5bf5
Add panel test mode to the UI.
6 years ago
Glenn Maynard
501b297c8f
Rename iBadSensorDIP -> iBadJumper.
6 years ago
Glenn Maynard
6d370ee092
Show a warning if an incorrect sensor DIP switch is detected.
6 years ago
Glenn Maynard
6d0820f495
Add the PlatformFlags_FSR config flag.
6 years ago
Glenn Maynard
cc07e07649
Fix auto-lighting not reactivating quickly.
6 years ago
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.)
6 years ago
Glenn Maynard
6b58194235
Handle FSR thresholds in the threshold sliders.
6 years ago
Glenn Maynard
1c980f24e0
Add config fields for FSR sensitivity and the platform strip color.
...
This also sets pack:1 so we don't rely on compiler struct alignment.
6 years ago
Glenn Maynard
776baf1aca
Set all lights in the UI when previewing light colors.
6 years ago
Glenn Maynard
39cfc8cee0
Add support for uploading animations to the panel, if it supports it.
6 years ago
Glenn Maynard
2628c078fa
Add SMXPanelAnimation.
6 years ago
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.
6 years ago
Glenn Maynard
7a4bbc6eab
Pad the configuration struct to 250 bytes, so the SDK.DLL ABI doesn't change when fields are added.
6 years ago
Glenn Maynard
e57fa5d28e
Add a version display based on the git tag.
7 years ago
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.
7 years ago
Glenn Maynard
5d1e4c85fe
Add an early check for SMX.dll not loading.
7 years ago
Glenn Maynard
f321b7228d
Remove unused SetUpdateCallback. We set the update callback on start.
7 years ago
Glenn Maynard
913f740113
Allow configuring two pads together (the existing behavior), or selecting a single pad from a dropdown to configure them separately.
7 years ago
Glenn Maynard
9ed01c29ba
Implement exporting and importing platform settings to a file.
7 years ago
Glenn Maynard
57379383c0
Import for release.
7 years ago