From 0f2f90a2f5db173ca61c5f4b97ee8eb40f9695e5 Mon Sep 17 00:00:00 2001 From: Max Paperno Date: Tue, 12 Jul 2022 13:21:51 -0400 Subject: [PATCH] Bump version, update CHANGELOG and README. --- CHANGELOG.md | 10 ++++++++++ README.md | 15 +++++++++------ src/TJoy.sln | 1 + .../Properties/AssemblyVersionInfo.cs | 6 +++--- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa9dbc2..be2665f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # TJoy - Touch Joystick Virtual Controller Project +## 1.0.0.1 (12-Jul-2022) +* Added "Set Slider Position" action to visually reflect the value of any variable, for example a throttle lever which is set externally. +* Dynamic position report states are now visually sorted into categories per device (requires TP v3.0.10 or higher). +* Fixed (hopefully) vJoy initial re-connection issue after manually disconnecting from a device (had to try twice). +* Fixed DPOV selector in actions/connectors showing directions instead of available POVs. +* Prevent log spamming when position reports are enabled but the polled device doesn't exist or has a driver issue. +* Fixed missing plugin icon in TP Actions list. +* Improve logging output template. +* Update to .NET v6 runtime. + ## 0.9.5 (18-Mar-2022) * Added support for `vXBox` (a.k.a. ScpVBus) virtual XBox 360 gamepad driver with up to 4 devices. * Added support for using multiple devices at the same time, up to 16 vJoy joysticks and/or 4 gamepads. diff --git a/README.md b/README.md index 58bbe83..7a0b66b 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,6 @@ if you pause for a fraction of a second before releasing the slider. * I have a request in with the TP authors to improve this detection so it is more reliable, since it is vital for things like "self-centering" joystick axes. Please help by also requesting this feature on the Touch Portal Discord server or via other support means. -* If you manually disconnect a vJoy device (via the provided action), the next attempt to re-connect to the same device will fail. - But tring to connect a second time will succeed. - ## Update Notifications @@ -196,7 +193,7 @@ D-Pad directions are also available as individual buttons. along the axis, and also allow the axis to "wrap" back to its starting point and continue up to maximum range a second time (if you don't want the wrapping effect then you need to calibrate that axis in your game or Windows, same as above). -* `Continous 360° POV Hat (Action/Slider)` - Controls any of the 4 possible vJoy 360 degree "continuous" POV hats which move from center in any direction. +* `Continuous 360° POV Hat (Action/Slider)` - Controls any of the 4 possible vJoy 360 degree "continuous" POV hats which move from center in any direction. The operation is nearly identical to the Axis controls described above, with the main difference being that "center" on a POV hat is a neutral position, when no other input is being given. * Again the Action options here are the same as for Axis controls where you can just set whichever value you wish the POV to move to when the action @@ -211,12 +208,18 @@ D-Pad directions are also available as individual buttons. #### Plugin -* `Virtual Joystick Device Actions` - Lastly there is a simple action to control the connection to devices being used as well as some other options: +* `Virtual Joystick Device Actions` - Controls the connection to devices being used as well as some other options: * `Toggle`, `Connect` or `Disconnect` a specific device. * `Reset` all the device controls to neutral/default values (center axes, release buttons, etc). * `Refresh Report` to manually request a position state report (see States). * `Force Unplug` a gamepad device. If it happens that a virtual gamepad doesn't get properly removed/freed (either by _TJoy_ itsself or another application) this is a way to force its removal and will allow _TJoy_ (or another application) to use that device again. +* `Set Slider Position` - Sets any TP slider(s) which are connected to the specified VJD and axis/POV to a specified position (0-100). + This is intended to compensate for the lack of any built-in way in Touch Portal to visually set a slider position to reflect some value. + * It does _not_ affect the actual joystick axis value, only the visual slider(s) position. + * Could be used with any State or TP Value to show external feedback on an axis. For example to reflect a simulated vehicle throttle position when it is moved + externally (not via the Touch Portal slider). + * The position value must evaluate to numeric in the range of 0 to 100. Basic math operators (`+`, `-`, `*`, `/`, `%`, parenthesis) can be included in the position value. ### States @@ -227,7 +230,7 @@ These are only sent if enabled in the plugin's Settings. See notes for `Position "Y" or "Ly" for an axis, etc. * ` - Button ` - `0` for off and `1` for on (pressed) * ` - Axis ` - A value in the range of 0 - 100 reflecting axis position, or a "raw" range (0 - 32,767 for vJoy) if so configured in the plugin's settings. -* ` - Continous Hat ` - A value in the range of 0 - 100 reflecting POV hat axis position or `-1` indicating neutral state. Or, a "raw" range +* ` - Continuous Hat ` - A value in the range of 0 - 100 reflecting POV hat axis position or `-1` indicating neutral state. Or, a "raw" range (-1 through 35,900 for vJoy) if so configured in the plugin's settings. * ` - Discrete Hat ` - This will be a string representing a compass D-Pad/POV direction, one of `North`, `East`, `South`, `West` for 4-way hats (vJoy) and adding `NorthEast`, `SouthEast`, `SouthWest` and `NorthWest` for 8-way gamepad D-Pads. diff --git a/src/TJoy.sln b/src/TJoy.sln index ad58da3..7b94314 100644 --- a/src/TJoy.sln +++ b/src/TJoy.sln @@ -8,6 +8,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{18D3A318-8076-4B5C-A776-ABD4BE2E3DEE}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig + ..\CHANGELOG.md = ..\CHANGELOG.md publish.ps1 = publish.ps1 ..\README.md = ..\README.md EndProjectSection diff --git a/src/TouchPortalPlugin/Properties/AssemblyVersionInfo.cs b/src/TouchPortalPlugin/Properties/AssemblyVersionInfo.cs index 3cbfb9f..fecc4ae 100644 --- a/src/TouchPortalPlugin/Properties/AssemblyVersionInfo.cs +++ b/src/TouchPortalPlugin/Properties/AssemblyVersionInfo.cs @@ -1,5 +1,5 @@ using System.Reflection; -[assembly: AssemblyInformationalVersion("0.9.5.0-beta1")] -[assembly: AssemblyVersion("0.9.5.0")] -[assembly: AssemblyFileVersion("0.9.5.0")] +[assembly: AssemblyInformationalVersion("1.0.0.1-beta1")] +[assembly: AssemblyVersion("1.0.0.1")] +[assembly: AssemblyFileVersion("1.0.0.1")]