-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGetControllers.cs
More file actions
38 lines (33 loc) · 1.12 KB
/
GetControllers.cs
File metadata and controls
38 lines (33 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using OculusTrayTool.My;
namespace OculusTrayTool
{
internal sealed class GetControllers
{
public static Dictionary<string, Guid> joysticks = new Dictionary<string, Guid>();
private static object joystickGuid = (object) Guid.Empty;
public static bool ControllersFound = false;
public static string selectedDevice;
public static object joy;
public static bool joyAquired = false;
public static void GetAllControllers()
{
// SharpDX missing. Stubbed.
Log.WriteToLog("GetAllControllers: Functionality disabled due to missing SharpDX.dll dependency.");
ControllersFound = false;
}
public static void SelectController()
{
// SharpDX missing. Stubbed.
}
public static void CaptureSelectedButton()
{
Log.WriteToLog("CaptureSelectedButton: Functionality disabled due to missing SharpDX.dll dependency.");
}
public static void CaptureButtonPushToTalk()
{
Log.WriteToLog("CaptureButtonPushToTalk: Functionality disabled due to missing SharpDX.dll dependency.");
}
}
}