This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/controller mapping refactor (#67)
* updated lumin controller data provider * added controller data provider reference to the controller * updated references * updated profile reference * updated references * Added default controller definitions * removed redundant action assignments in mappings * updated references * added axis processor check * Fixed inspector * updated controller instance creation * added a default constructor * fixed TryRenderControllerModel call * removed unused reference * removed asset menu * Remove obsolete SetupDefaultInteractions (#59) * removed reference to input processor * updated reference to camera rig * updated platform flag to only be true on device If we want any modules to run in the editor then we need to flip that flag * updated hand inspector * Added Lumin camera data provider * updated lumin platform definition * updated icon * Added default lumin camera data provider profile * reverted name change * Updated constructors for data providers * Added service parent reference * cleaned up referenece * updated nearclip distance * Change requests for controller provider inspectors (#63) * Update indent levels for Lumin settings * Cache GUIContent in OnEnable * Remove blank line * Use static readonly * updated lumin camera settings * updated lumin camera data provider * only reset local positions Co-authored-by: Dino Fejzagic <dino.f@live.de>
- Loading branch information
1 parent
2aa0ca0
commit c0b6210
Showing
11 changed files
with
86 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
Inspectors/LuminMotionControllerMappingProfileInspector.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Inspectors/LuminMotionControllerMappingProfileInspector.cs.meta
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) XRTK. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
using XRTK.Definitions.Controllers; | ||
using XRTK.Definitions.Utilities; | ||
using XRTK.Lumin.Controllers; | ||
|
||
namespace XRTK.Lumin.Profiles | ||
{ | ||
public class LuminControllerDataProviderProfile : BaseMixedRealityControllerDataProviderProfile | ||
{ | ||
public override ControllerDefinition[] GetDefaultControllerOptions() | ||
{ | ||
return new[] | ||
{ | ||
new ControllerDefinition(typeof(LuminController), Handedness.Left), | ||
new ControllerDefinition(typeof(LuminController), Handedness.Right) | ||
}; | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters