diff --git a/README.md b/README.md index 68d0cdd..a3511ec 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ This project is a fork of the original (now unsupported) project and uses foohid ## Quick Start 1. Download and install the latest release of foohid: https://github.com/unbit/foohid/releases/latest -2. Download the install latest release of WJoy-foohid: https://github.com/JustinBis/wjoy-foohid/releases/latest +2. Download and run the latest release of WJoy-foohid: https://github.com/JustinBis/wjoy-foohid/releases/latest 3. Ensure that bluetooth is enabled and then click the wiimote icon on the menu bar 4. Click "start discovery" and then hit the red sync button on your Wii Remote or other accessory -5. Once connected, your controller is ready to be used. Enjoy! +5. Once connected, your controller is ready to be used in any games that support native gamepads. Enjoy! ## Why foohid? diff --git a/WJoy/WJoy-Info.plist b/WJoy/WJoy-Info.plist index b4b7b47..4bc7dca 100644 --- a/WJoy/WJoy-Info.plist +++ b/WJoy/WJoy-Info.plist @@ -9,7 +9,7 @@ CFBundleIconFile app CFBundleIdentifier - com.alxn1.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -17,17 +17,17 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.7.1 + 0.8.0 CFBundleSignature ???? LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} + LSUIElement + NSMainNibFile MainMenu NSPrincipalClass NSApplication - LSUIElement - UALatesVersionPlistURL http://wjoy.googlecode.com/svn/trunk/WJoy/WJoyLatestVersion.plist diff --git a/WJoy/WJoy.xcodeproj/project.pbxproj b/WJoy/WJoy.xcodeproj/project.pbxproj index 4cd924b..a0d38a4 100644 --- a/WJoy/WJoy.xcodeproj/project.pbxproj +++ b/WJoy/WJoy.xcodeproj/project.pbxproj @@ -540,6 +540,8 @@ /* Begin PBXProject section */ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; + attributes = { + }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "WJoy" */; compatibilityVersion = "Xcode 3.1"; developmentRegion = English; @@ -852,6 +854,7 @@ HEADER_SEARCH_PATHS = ../; INFOPLIST_FILE = "WJoy-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_BUNDLE_IDENTIFIER = "com.JustinBis.WJoy-foohid"; PRODUCT_NAME = WJoy; }; name = Debug; @@ -865,6 +868,7 @@ HEADER_SEARCH_PATHS = ../; INFOPLIST_FILE = "WJoy-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_BUNDLE_IDENTIFIER = "com.JustinBis.WJoy-foohid"; PRODUCT_NAME = WJoy; }; name = Release; diff --git a/WJoy/WJoy.xcodeproj/project.xcworkspace/xcuserdata/justin.xcuserdatad/UserInterfaceState.xcuserstate b/WJoy/WJoy.xcodeproj/project.xcworkspace/xcuserdata/justin.xcuserdatad/UserInterfaceState.xcuserstate index 2dbf5d1..972df0b 100644 Binary files a/WJoy/WJoy.xcodeproj/project.xcworkspace/xcuserdata/justin.xcuserdatad/UserInterfaceState.xcuserstate and b/WJoy/WJoy.xcodeproj/project.xcworkspace/xcuserdata/justin.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/WJoy/WiimoteAutoWrapper.m b/WJoy/WiimoteAutoWrapper.m index 23edbb2..6bccb6c 100644 --- a/WJoy/WiimoteAutoWrapper.m +++ b/WJoy/WiimoteAutoWrapper.m @@ -176,8 +176,8 @@ - (void) wiimote:(Wiimote*)wiimote break; } - NSLog(@"\nMinLx: %i\tMinLy: %i\tMaxLx: %i\tMaxLy: %i", minL.x, minL.y, maxL.x, maxL.y); - NSLog(@"\nMinRx: %i\tMinRy: %i\tMaxRx: %i\tMaxRy: %i", minR.x, minR.y, maxR.x, maxR.y); + NSLog(@"\nMinLx: %f\tMinLy: %f\tMaxLx: %f\tMaxLy: %f", minL.x, minL.y, maxL.x, maxL.y); + NSLog(@"\nMinRx: %f\tMinRy: %f\tMaxRx: %f\tMaxRy: %f", minR.x, minR.y, maxR.x, maxR.y); [m_HIDState setPointer:stick position:position]; } diff --git a/WirtualJoy/WirtualJoy.xcodeproj/project.pbxproj b/WirtualJoy/WirtualJoy.xcodeproj/project.pbxproj index ec3466b..c334228 100644 --- a/WirtualJoy/WirtualJoy.xcodeproj/project.pbxproj +++ b/WirtualJoy/WirtualJoy.xcodeproj/project.pbxproj @@ -594,15 +594,17 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1.0.0d1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_KERNEL_DEVELOPMENT = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; - MODULE_NAME = com.alxn1.driver.wjoy; + MODULE_NAME = "com.JustinBis.driver.wjoy-foohid"; MODULE_VERSION = 1.0.0d1; PRODUCT_NAME = wjoy; WRAPPER_EXTENSION = kext; @@ -613,12 +615,14 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; CURRENT_PROJECT_VERSION = 1.0.0d1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_KERNEL_DEVELOPMENT = NO; GCC_MODEL_TUNING = G5; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; - MODULE_NAME = com.alxn1.driver.wjoy; + MODULE_NAME = "com.JustinBis.driver.wjoy-foohid"; MODULE_VERSION = 1.0.0d1; PRODUCT_NAME = wjoy; WRAPPER_EXTENSION = kext;