Skip to content

Commit

Permalink
Bump version, create CHANGELOG, update publish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaperno committed Mar 7, 2022
1 parent 219bb7e commit 93aa178
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# TJoy - Touch Joystick Virtual Controller Project

## 0.9.1 (7-Mar-2022)
* Fixed that vJoy Continuous POV hat direction, when used with a slider, was rotated 180 degrees from expected.
* Any Slider(s) on the same axis/POV as a Button action will now update their position(s) when that action is triggered.

## 0.9.0 (2-Mar-2022)
Initial release
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Your testing and feedback is important, please help!
* Use Touch Portal Actions and Sliders for all joystick controls (except joystick buttons currently do not have a slider input).
* Multiple options for each joystick control. Click, hold, or toggle buttons/hats, adjust axis range and precision,
reverse axis direction, set up custom mixes, button sequences, and much more.
* Control multiple joystick buttons/axes/hats simultaneously (usually up to 10, depending on your touchscreen and device performance).
* Use calculations in action data fields, for example to control a joystick axis value based on the value of
a variable or state, with basic math operators available (+, -, *, /, % (modulo)).
* Use multiple linked controls for the same axis, for example a "coarse" slider over the full range
Expand Down
10 changes: 5 additions & 5 deletions src/TouchPortalPlugin/TouchPortalPlugin.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- <ApplicationVersion>1.0.0.%2a</ApplicationVersion> -->
<AssemblyName>TJoyTouchPortalPlugin</AssemblyName>
<ProjectGuid>{6405CA14-031F-4FEE-89AE-A1320BDDEB40}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>TJoy</RootNamespace>
<AssemblyName>TJoyTouchPortalPlugin</AssemblyName>
<TargetFramework>net5.0</TargetFramework>
<Platforms>AnyCPU;x64</Platforms>
<!-- <ApplicationVersion>1.0.0.%2a</ApplicationVersion> -->
<!-- <FileAlignment>512</FileAlignment> -->
<!-- <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> -->
<!-- <Deterministic>true</Deterministic> -->
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -26,10 +26,10 @@
<RepositoryUrl>https://github.com/mpaperno/TJoy</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>0.9.0</Version>
<Version>0.9.1</Version>
<StartupObject>TJoy.TouchPortalPlugin.Program</StartupObject>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion src/TouchPortalPlugin/entry.tp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": 5,
"version": 90000,
"version": 90100,
"name": "TJoy Touch Portal Plugin",
"id": "us.wdg.max.tpp.tjoy",
"configuration": {
Expand Down
12 changes: 1 addition & 11 deletions src/publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,11 @@ Write-Information "Restoring '$ProjectName' component....`n" -InformationAction
dotnet restore "$ProjectName"
#dotnet restore "$ProjectName.Tests"

#Write-Information "Building '$ProjectName' component...`n" -InformationAction Continue
#dotnet build "$ProjectName" --configuration $Configuration -p:Platform=x64

$CurrentDir = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Path)

$DistFolderPath = "$CurrentDir\..\packages-dist"
$PluginFilesPath = "$DistFolderPath\$DistroName"

if (Test-Path $PluginFilesPath) {
Remove-Item $PluginFilesPath -Force -Recurse
}

if (Test-Path $DistFolderPath) {
Remove-Item $DistFolderPath -Force -Recurse
}
Expand All @@ -47,15 +40,12 @@ Write-Information "Cleaning '$ProjectName' packages-dist folder '$DistFolderPath
Write-Information "Publishing '$ProjectName' component to '$PluginFilesPath'...`n" -InformationAction Continue
dotnet publish "$ProjectName" --output "$PluginFilesPath\dist" --configuration $Configuration -p:Platform=x64 $VersionSuffixCommand $VersionSuffix -r "win-x64" --self-contained true

# Run Documentation
#dotnet run -p "$ProjectName-Generator" "$DistFolderPath\$DistroName"

# Copy Entry.tp, Readme, Documentation, CHANGELOG to publish
copy "$ProjectName/entry.tp" "$PluginFilesPath"
copy "$ProjectName/vJoyTP.png" "$PluginFilesPath"
copy "..\README.md" "$PluginFilesPath"
copy "..\LICENSE" "$PluginFilesPath\LICENSE.txt"
#copy "..\CHANGELOG.md" "$PluginFilesPath"
copy "..\CHANGELOG.md" "$PluginFilesPath"

# Get version
$FileVersion = (Get-Command $PluginFilesPath\dist\$BinarytName.dll).FileVersionInfo.FileVersion
Expand Down

0 comments on commit 93aa178

Please sign in to comment.