Skip to content

Commit

Permalink
Bump version, update CHANGELOG and README.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaperno committed Jul 12, 2022
1 parent c23ea6d commit 0f2f90a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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.
* `<Device> - Button <N>` - `0` for off and `1` for on (pressed)
* `<Device> - Axis <N>` - 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.
* `<Device> - Continous Hat <N>` - A value in the range of 0 - 100 reflecting POV hat axis position or `-1` indicating neutral state. Or, a "raw" range
* `<Device> - Continuous Hat <N>` - 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.
* `<Device> - Discrete Hat <N>` - 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.
Expand Down
1 change: 1 addition & 0 deletions src/TJoy.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/TouchPortalPlugin/Properties/AssemblyVersionInfo.cs
Original file line number Diff line number Diff line change
@@ -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")]

0 comments on commit 0f2f90a

Please sign in to comment.