AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
GamePadEventData.cs
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License. See LICENSE in the project root for license information.
3
4
using
System
;
5
using
UnityEngine
.EventSystems;
6
7
namespace
HoloToolkit
.Unity.InputModule
8
{
9
[Obsolete(
"Use SourceEventData"
)]
10
public
class
GamePadEventData
:
InputEventData
11
{
12
public
string
GamePadName {
get
;
private
set
; }
13
14
public
GamePadEventData
(EventSystem eventSystem) : base(eventSystem) { }
15
16
public
void
Initialize
(
IInputSource
source, uint sourceId,
string
gamePadName,
object
tag = null)
17
{
18
BaseInitialize(source, sourceId, tag);
19
GamePadName = gamePadName;
20
}
21
}
22
}
HoloToolkit.Unity.InputModule.GamePadEventData.Initialize
void Initialize(IInputSource source, uint sourceId, string gamePadName, object tag=null)
Definition:
GamePadEventData.cs:16
System
HoloToolkit.Unity.InputModule.GamePadEventData
Definition:
GamePadEventData.cs:10
HoloToolkit.Unity.InputModule.GamePadEventData.GamePadEventData
GamePadEventData(EventSystem eventSystem)
Definition:
GamePadEventData.cs:14
HoloToolkit.Unity.InputModule.IInputSource
Interface for an input source. An input source can be anything that a user can use to interact with a...
Definition:
IInputSource.cs:12
HoloToolkit
HoloToolkit.Unity.InputModule.InputEventData
Describes an input event that has a source id and a press kind.
Definition:
InputEventData.cs:11
UnityEngine
Assets
HoloToolkit
Input
Scripts
InputEventData
GamePadEventData.cs
Generated by
1.8.12