Wiimote Hid Driver For Mac

My own implementation of the MsHidKmdf driver, so I can pass some function addresses to the HID Wiimote driver.
Developer(s) | Community |
---|---|
Initial release | 2006 |
Stable release | DarwiinRemote 0.7 / March 28, 2008; 12 years ago |
Written in | Objective-C |
Operating system | Mac OS X |
Available in | English |
Type | Driver |
License | BSD License |
Website | sourceforge.net/projects/darwiin-remote/ |
DarwiinRemote is an application for Mac OS X v10.4 or above which allows Wii Remote to fully control applications on a Mac. The software includes a desktop application and a developers' framework, allowing for additional functionality. To use the software, the computer must have Bluetooth enabled.
Usage[edit]
DarwiinRemote employs most of the features of the Wii Remote. All three accelerometers feed information to the Mac. All of the buttons on the Wii Remote, including the Nunchuk and classic controller attachments, can be used, and the control stick position can be displayed, but it is not possible to use the control stick to control anything. The rumble features and LEDs are fully programmable. In addition, DarwiinRemote can accept the infrared signals from the WiiSensor Bar. However, to use this feature, the bar must be plugged into a powered socket on a Wii console, or it must be a battery-powered model. One can also, however, use a string of infrared LEDs or a single IR LED from a remote control instead of a sensor bar.
Button mapping[edit]
By editing the source code or customizing the application's preferences, the buttons on the remote can emulate any key combination on the Mac. By default, the Remote's buttons correspond with the following keys:
Wii Remote | Key Mapping |
---|---|
A | Left-Click |
B | Return (Enter) |
Up | Up Key |
Down | Down Key |
Left | Left Key |
Right | Right Key |
Plus | Command + Right |
Minus | Command + Left |
Home | Command + Esc |
One (1) | Mouse Mode ON/OFF (Motion Sensor Mode) |
Two (2) | Mouse Mode ON/OFF (IR Sensor) |
References[edit]
[1][2][3]
- ^'DarwiinRemote makes Wii Remote act like Apple Remote'. Macworld.com. 6 December 2006. Retrieved 17 December 2018.
- ^'123Macmini.com - News - DarwiinRemote turns Wii Remote into Apple Remote'. 123macmini.com. Retrieved 17 December 2018.
- ^'DarwiinRemote lets Wiimote control your Mac'. Engadget.com. Retrieved 17 December 2018.
External links[edit]
- DarwiinRemote on SourceForge.net
Builds
You can get test signed and zipped Driver Packages from the project site:http://julianloehr.de/educational-work/hid-wiimote/
Build yourself
To build the driver yourself you need the following software.All paths in the project are either relative or are using Visual Studio Macros.
The One-Click Build is open Build
> Batch Build..
, check only all BuildAndZip
Configurations and hit Build
or Rebuild
. This will build all drivers, the installer, pack everything into a Driver Package and Zip it. The final Zips are then found in the Zip
folder.
Requirements
- Visual Studio 2015
- Windows Driver Kit (WDK 10)
Both can be downloaded on this page: https://msdn.microsoft.com/en-us/windows/hardware/dn913721.aspx
Paths to adjust
The Driver Package is going to copy the Driver Package Installer (DPInst) into the Build directory. (Only on Release Configurations)
Normally the WindowsSdkDir
Macro in Visual Studio should point to the Windows SDK 10 installation directory (which in turn contains the WDK). If not either fix it or change the path in the Driver Package Properties
> Driver Install
> Package Files
.
Projects Overview
Build And Zip
Helper project to zip the Driver Packages after building. Has only Release Configurations, so should be only used on Release builds. Has a dependency on HID Wiimote Package
so the package itself is build/rebuild as well.
HID Miniport
My own implementation of the MsHidKmdf driver, so I can pass some function addresses to the HID Wiimote driver. It basically just passes everything down to the HID Wiimote filter driver, additionally a custom IOCTL to request function addresses.
HID Wiimote
Main driver - does all the important Wiimote stuff.
HID Wiimote Package
Driver Package/Utility project, to pack everything into one package and sign it. No code, just settings.
TinyInstaller
Software receiver tanaka t21. My main installer written in C#. Just a helper to install my certificate to boost the driver ranking (so it will be picked instead of the default driver). Then invokes the Driver Package Installer (DPInst.exe).
Contribution
Feel free to create issues, reporting bugs or giving feedback/features wishes.