mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Andrew de los Reyes
c9dfcf8cf7
Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X.
This patch makes a few changes necessary for support for the new Wii Remotes: - For all OSes: - Adds a new bool member variable m_motion_plus_inside to identify the new Wii Remotes. - If we have a new Wii Remote, use a head byte of 0xa2. We could just change this behavior for all Wii Remotes, but an existing comment suggests that would break 3rd party Wii Remotes. - On Mac OS X: - Expand the search criteria for the bluetooth scan. This is necessary because the new Wii Remote identifies with minor class kBluetoothDeviceClassMinorPeripheral2Gamepad, but the old Wii Remotes use minor class kBluetoothDeviceClassMinorPeripheral2Joystick (1). - Send commands on the interrupt channel, not the control channel. The new Wii Remotes require this; old ones are compatible with this. Note: 3rd party Wii Remots are untested with this change; the hope is they are still functional. - Get the name of the bluetooth device and see if it ends in "-TR". If so, set a member variable so we know it's the new kind of Wii Remote. This should fix issue 5011 for Mac OS X: http://code.google.com/p/dolphin-emu/issues/detail?id=5011
Dolphin-emu - The Gamecube / Wii Emulator ========================================== Homesite: http://dolphin-emulator.com/ Project Site: http://code.google.com/p/dolphin-emu Dolphin-emu is a emulator for Gamecube, Wii, Triforce that lets you run Wii/GCN/Tri games on your Windows/Linux/Mac PC system. Open Source Release under GPL 2 Project Leaders: F|RES, ector Team members: http://code.google.com/p/dolphin-emu/people/ Please read the FAQ before use: http://code.google.com/p/dolphin-emu/wiki/Facts_And_Questions System Requirements: * OS: Microsoft Windows (2000/XP/Vista or higher) or Linux or Apple Mac OS X. * Processor: Fast CPU with SSE2 supported (recommended at least 2Ghz). Dual Core for speed boost. * Graphics: Any graphics card that supports Direct3D 9 or OpenGL 2.1. [Command line usage] Usage: Dolphin [-h] [-d] [-l] [-e <str>] [-b] [-V <str>] [-A <str>] -h, --help Show this help message -d, --debugger Opens the debugger -l, --logger Opens the logger -e, --exec=<str> Loads the specified file (DOL,ELF,WAD,GCM,ISO) -b, --batch Exit Dolphin with emulator -V, --video_backend=<str> Specify a video plugin -A, --audio_emulation=<str> Low level (LLE) or high level (HLE) audio [Libraries] Cg: Cg Shading API (http://developer.nvidia.com/object/cg_toolkit.html) *.pdb = Program Debug Database (use these symbols with a program debugger) [DSP Plugins] Plugin_DSP_HLE: High Level DSP Emulation Plugin_DSP_LLE: Low Level DSP Emulation [Video Backends] Direct3D9: Render with Direct3D 9 Direct3D11: Render with Direct3D 11 OpenGL: Render with OpenGL + Cg Shader Language [Sys Files] totaldb.dsy: Database of symbols (for devs only) font_ansi.bin/font_sjis.bin: font dumps setting-usa/jpn/usa.txt: config files for Wii [Support Folders] Cache: used to cache the ISO list Config: emulator configuration files Dump: anything dumped from dolphin will go here GC: Gamecube memory cards GameConfig: holds the INI game config files Load: high resolution textures Logs: logs go here Maps: symbol tables go here (dev only) OpenCL: OpenCL code ScreenShots: screenshots are saved here Shaders: post-processing shaders StateSaves: save states are stored here Wii: Wii saves and config is stored here
Languages
C++
88.5%
Kotlin
4.9%
C
2.3%
CMake
1.2%
Objective-C++
1%
Other
1.8%