Skip to content

Commit

Permalink
Merge pull request #1 from realitycollective/feature/init
Browse files Browse the repository at this point in the history
Init package and update to latest core
  • Loading branch information
SimonDarksideJ authored May 8, 2024
2 parents 618c1f7 + 444510b commit 7e132fb
Show file tree
Hide file tree
Showing 36 changed files with 138 additions and 480 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/development-buildandtestupmrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,13 @@ jobs:
uses: realitycollective/reusableworkflows/.github/workflows/rununityUPMbuild.yml@v2
with:
unityversion: ${{ needs.Validate-Unity.outputs.unityeditorversion }}
dependencies: '{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"development": "github.com/realitycollective/com.realitytoolkit.core.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"},{"development": "github.com/realitycollective/com.realitycollective.service-framework.git"},{"development": "github.com/realitycollective/com.realitytoolkit.player.git"},{"development": "github.com/realitycollective/com.realitytoolkit.boundary.git"}'
secrets: inherit
dependencies: '[{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"development": "github.com/realitycollective/com.realitytoolkit.core.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"},{"development": "github.com/realitycollective/com.realitycollective.service-framework.git"},{"development": "github.com/realitycollective/com.realitytoolkit.player.git"},{"development": "github.com/realitycollective/com.realitytoolkit.boundary.git"}]'
secrets: inherit

Build-Complete:
runs-on: ubuntu-latest
name: Build completion task
needs: Run-Unit-Tests
steps:
- run: echo "Build Complete"

9 changes: 9 additions & 0 deletions Editor/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System.Reflection;

[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyTitle("com.realitytoolkit.openxr.editor")]
[assembly: AssemblyCompany("Reality Collective")]
[assembly: AssemblyCopyright("Copyright (c) Reality Collective. All rights reserved.")]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Editor/OpenXRPackageInstaller.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Reality Collective. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityCollective.Editor.Utilities;
using RealityCollective.Extensions;
using RealityCollective.ServiceFramework.Editor;
using RealityCollective.ServiceFramework.Editor.Packages;
using RealityCollective.Utilities.Editor;
using RealityCollective.Utilities.Extensions;
using RealityToolkit.Editor;
using System.IO;
using UnityEditor;
Expand Down
2 changes: 1 addition & 1 deletion Editor/OpenXRPackageInstaller.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 0 additions & 82 deletions Editor/OpenXRPackageModulesInstaller.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Editor/OpenXRPathFinder.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Reality Toolkit - openxr
# Reality Toolkit - OpenXR

![com.realitytoolkit.openxr](https://github.com/realitycollective/realitycollective.logo/blob/main/RealityToolkit/RepoBanners/com.realitytoolkit.openxr.png?raw=true)

The openxr module for the [Reality Toolkit](https://www.realitytoolkit.io/).
The OpenXR module for the [Reality Toolkit](https://www.realitytoolkit.io/).

[![openupm](https://img.shields.io/npm/v/com.realitytoolkit.openxr?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.realitytoolkit.openxr/) [![Discord](https://img.shields.io/discord/597064584980987924.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/hF7TtRCFmB)
[![Publish main branch and increment version](https://github.com/realitycollective/com.realitytoolkit.openxr/actions/workflows/main-publish.yml/badge.svg)](https://github.com/realitycollective/com.realitytoolkit.openxr/actions/workflows/main-publish.yml)
Expand Down
9 changes: 9 additions & 0 deletions Runtime/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System.Reflection;

[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyTitle("com.realitytoolkit.openxr")]
[assembly: AssemblyCompany("Reality Collective")]
[assembly: AssemblyCopyright("Copyright (c) Reality Collective. All rights reserved.")]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion Tests.meta → Runtime/Input/Controllers.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Reality Collective. All rights reserved.
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityToolkit.Input.Interfaces.Modules;

namespace RealityToolkit.OpenXR
namespace RealityToolkit.OpenXR.Input.Controllers
{
/// <summary>
/// Fully qualifies the <see cref="OpenXRPlatform"/> specific implementation of <see cref="IControllerServiceModule"/>.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Runtime/Input/Controllers/OpenXRControllerServiceModule.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityCollective.ServiceFramework.Attributes;
using RealityToolkit.Input.Controllers;
using RealityToolkit.Input.Interfaces;
using UnityEngine;

namespace RealityToolkit.OpenXR.Input.Controllers
{
[RuntimePlatform(typeof(OpenXRPlatform))]
[System.Runtime.InteropServices.Guid("a5099f91-b390-4155-894a-309fbd73febb")]
public class OpenXRControllerServiceModule : BaseControllerServiceModule, IOpenXRControllerServiceModule
{
/// <inheritdoc />
public OpenXRControllerServiceModule(string name, uint priority, OpenXRControllerServiceModuleProfile profile, IInputService parentService)
: base(name, priority, profile, parentService) { }
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Runtime/Input/Controllers/OpenXRControllerServiceModuleProfile.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityToolkit.Definitions.Controllers;

namespace RealityToolkit.OpenXR.Input.Controllers
{
/// <summary>
/// Configuration profile for <see cref="OpenXRControllerServiceModule"/>.
/// </summary>
public class OpenXRControllerServiceModuleProfile : BaseControllerServiceModuleProfile
{
/// <inheritdoc />
public override ControllerDefinition[] GetDefaultControllerOptions()
{
return null;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions Runtime/InputService/IOpenXRHandControllerServiceModule.cs

This file was deleted.

21 changes: 0 additions & 21 deletions Runtime/InputService/OpenXRControllerServiceModule.cs

This file was deleted.

21 changes: 0 additions & 21 deletions Runtime/InputService/OpenXRHandControllerServiceModule.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Runtime/InputService/OpenXRHandControllerServiceModule.cs.meta

This file was deleted.

Loading

0 comments on commit 7e132fb

Please sign in to comment.