Finally on windows! The Samsung Gear VR Controller can be utilised as an emulated mouse (and gamepad).
This project is written in C#, but I decided not to provide any binaries. Ever heard about LINQPad - The .NET Programmer's Playground https://www.linqpad.net ? The supplied gear-vr-controller.linq can be opened and executed with LINQPad 5. Works better with corporate machines.
Program is "AS IS", and I take no liabilities for any damage it causes.
This is an initial commit, WIP.
In the line beginning with
UInt64 i_vrcontrollerMAC
Bluetooth pairing + connection is done automatically by the program. No unpairing is necessary. Next time automatic connection - already paired state.
Linqpad will offer to download missing nuget packages, say YES to it.
- App.config
<configuration>
<Capabilities>
<DeviceCapability Name="bluetooth" />
</Capabilities>
<appSettings>
<add key="SendKeys" value="SendInput" />
</appSettings>
</configuration>
- Additional Namespace imports
System
System.Linq
System.Runtime.InteropServices
- Additional references
\LINQPad Queries\GATT\AudioSwitcher.AudioApi.CoreAudio.dll
\LINQPad Queries\GATT\AudioSwitcher.AudioApi.dll
\System.Linq.dll
\System.Numerics.dll
\System.Runtime.dll
\System.Runtime.InteropServices.WindowsRuntime.dll
\System.Runtime.Numerics.dll
\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5\System.Runtime.WindowsRuntime.dll
\System.Threading.Tasks.dll
\System.Windows.Forms.dll
\Windows Kits\10\References\10.0.19041.0\Windows.Foundation.FoundationContract\4.0.0.0\Windows.Foundation.FoundationContract.winmd
\Windows Kits\10\References\10.0.19041.0\Windows.Foundation.UniversalApiContract\10.0.0.0\Windows.Foundation.UniversalApiContract.winmd
\Windows Kits\10\UnionMetadata\Facade\Windows.WinMD