diff --git a/VoodooPS2Controller.xcodeproj/project.pbxproj b/VoodooPS2Controller.xcodeproj/project.pbxproj index 67c1b79..491090f 100644 --- a/VoodooPS2Controller.xcodeproj/project.pbxproj +++ b/VoodooPS2Controller.xcodeproj/project.pbxproj @@ -513,7 +513,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; DEBUG_INFORMATION_FORMAT = dwarf; DEPLOYMENT_LOCATION = NO; DEPLOYMENT_POSTPROCESSING = YES; @@ -538,7 +538,7 @@ LLVM_LTO = YES_THIN; "LLVM_LTO[arch=x86_64]" = YES_THIN; MACOSX_DEPLOYMENT_TARGET = 10.13; - MODULE_VERSION = 6.2.0; + MODULE_VERSION = 6.3.0; ONLY_ACTIVE_ARCH = YES; "OTHER_LDFLAGS[arch=x86_64]" = "-dead_strip"; PRODUCT_NAME = VoodooPS2Controller; @@ -569,7 +569,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; DEBUG_INFORMATION_FORMAT = dwarf; DEPLOYMENT_POSTPROCESSING = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -591,7 +591,7 @@ LLVM_LTO = YES_THIN; "LLVM_LTO[arch=x86_64]" = YES_THIN; MACOSX_DEPLOYMENT_TARGET = 10.13; - MODULE_VERSION = 6.2.0; + MODULE_VERSION = 6.3.0; ONLY_ACTIVE_ARCH = YES; "OTHER_LDFLAGS[arch=x86_64]" = "-dead_strip"; PRODUCT_NAME = VoodooPS2Controller; @@ -605,11 +605,11 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Controller/VoodooPS2Controller-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Controller/VoodooPS2Controller-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Controller; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Controller; @@ -626,11 +626,11 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Controller/VoodooPS2Controller-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Controller/VoodooPS2Controller-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Controller; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Controller; @@ -648,11 +648,11 @@ CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/VoodooPS2Controller.kext/Contents/PlugIns"; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Keyboard/VoodooPS2Keyboard-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Keyboard; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Keyboard; @@ -669,11 +669,11 @@ CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/VoodooPS2Controller.kext/Contents/PlugIns"; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Keyboard/VoodooPS2Keyboard-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Keyboard; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Keyboard; @@ -690,11 +690,11 @@ CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/VoodooPS2Controller.kext/Contents/PlugIns"; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Trackpad/VoodooPS2Trackpad-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Trackpad; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Trackpad; @@ -711,11 +711,11 @@ CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/VoodooPS2Controller.kext/Contents/PlugIns"; - CURRENT_PROJECT_VERSION = 6.2.0; + CURRENT_PROJECT_VERSION = 6.3.0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "VoodooPS2Trackpad/VoodooPS2Trackpad-Prefix.pch"; INFOPLIST_FILE = "VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist"; - MARKETING_VERSION = 6.2.0; + MARKETING_VERSION = 6.3.0; MODULE_NAME = com.rehabman.driver.VoodooPS2Trackpad; OTHER_CFLAGS = "-fno-stack-protector"; PRODUCT_BUNDLE_IDENTIFIER = org.rehabman.voodoo.driver.PS2Trackpad; diff --git a/VoodooPS2Keyboard/VoodooPS2Keyboard-Breakless-Info.plist b/VoodooPS2Keyboard/VoodooPS2Keyboard-Breakless-Info.plist index 427f032..8d3ecc6 100644 --- a/VoodooPS2Keyboard/VoodooPS2Keyboard-Breakless-Info.plist +++ b/VoodooPS2Keyboard/VoodooPS2Keyboard-Breakless-Info.plist @@ -152,7 +152,7 @@ OSBundleLibraries - com.apple.iokit.IOHIDSystem + com.apple.iokit.IOHIDFamily 1.1 com.apple.kpi.bsd 8.0.0 diff --git a/VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist b/VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist index 71b15d8..bc10f4e 100644 --- a/VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist +++ b/VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist @@ -583,7 +583,7 @@ OSBundleLibraries - com.apple.iokit.IOHIDSystem + com.apple.iokit.IOHIDFamily 1.1 com.apple.kpi.bsd 8.0.0 diff --git a/VoodooPS2Keyboard/VoodooPS2Keyboard-RemapFN-Info.plist b/VoodooPS2Keyboard/VoodooPS2Keyboard-RemapFN-Info.plist index dc1a781..1a79bab 100644 --- a/VoodooPS2Keyboard/VoodooPS2Keyboard-RemapFN-Info.plist +++ b/VoodooPS2Keyboard/VoodooPS2Keyboard-RemapFN-Info.plist @@ -140,7 +140,7 @@ OSBundleLibraries - com.apple.iokit.IOHIDSystem + com.apple.iokit.IOHIDFamily 1.1 com.apple.kpi.bsd 8.0.0 diff --git a/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp b/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp index 3df7e9a..ac68809 100644 --- a/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp +++ b/VoodooPS2Keyboard/VoodooPS2Keyboard.cpp @@ -28,7 +28,7 @@ // #endif #include -#include +#include #include #include #include @@ -37,7 +37,7 @@ #include "VoodooPS2Keyboard.h" #include "ApplePS2ToADBMap.h" #include "AppleACPIPS2Nub.h" -#include +#include #include //REVIEW: avoids problem with Xcode 5.1.0 where -dead_strip eliminates these required symbols @@ -85,7 +85,7 @@ // Constants for other services to communicate with -#define kIOHIDSystem "IOHIDSystem" +#define kIOHIDFamily "IOHIDFamily" // ============================================================================= // ApplePS2Keyboard Class Implementation @@ -942,7 +942,7 @@ void ApplePS2Keyboard::setParamPropertiesGated(OSDictionary * dict) xml = OSDynamicCast(OSBoolean, dict->getObject(kUseISOLayoutKeyboard)); if (xml) { if (xml->isTrue()) { - _PS2ToADBMap[0x29] = _PS2ToADBMapMapped[0x56]; //Europe2 '¤º' + _PS2ToADBMap[0x29] = _PS2ToADBMapMapped[0x56]; //Europe2 '��' _PS2ToADBMap[0x56] = _PS2ToADBMapMapped[0x29]; //Grave '~' } else { @@ -1747,8 +1747,8 @@ bool ApplePS2Keyboard::dispatchKeyboardEventWithPacket(const UInt8* packet) break; if (_fkeymodesupported) { - // modify HIDFKeyMode via IOService... IOHIDSystem - if (IOService* service = IOService::waitForMatchingService(serviceMatching(kIOHIDSystem), 0)) + // modify HIDFKeyMode via IOService... IOHIDFamily + if (IOService* service = IOService::waitForMatchingService(serviceMatching(kIOHIDFamily), 0)) { const OSObject* num = OSNumber::withNumber(!_fkeymode, 32); const OSString* key = OSString::withCString(kHIDFKeyMode); diff --git a/VoodooPS2Keyboard/VoodooPS2Keyboard.h b/VoodooPS2Keyboard/VoodooPS2Keyboard.h index 63960ec..284f873 100644 --- a/VoodooPS2Keyboard/VoodooPS2Keyboard.h +++ b/VoodooPS2Keyboard/VoodooPS2Keyboard.h @@ -25,7 +25,7 @@ #include #include "ApplePS2KeyboardDevice.h" -#include +#include #include #include diff --git a/VoodooPS2Trackpad/VoodooPS2TouchPadBase.cpp b/VoodooPS2Trackpad/VoodooPS2TouchPadBase.cpp index 65fa770..3e60864 100644 --- a/VoodooPS2Trackpad/VoodooPS2TouchPadBase.cpp +++ b/VoodooPS2Trackpad/VoodooPS2TouchPadBase.cpp @@ -3,7 +3,7 @@ // #include -#include +#include #include #include #include "VoodooPS2Controller.h" diff --git a/VoodooPS2Trackpad/VoodooPS2TouchPadBase.h b/VoodooPS2Trackpad/VoodooPS2TouchPadBase.h index 36c1ef9..6b3f50f 100644 --- a/VoodooPS2Trackpad/VoodooPS2TouchPadBase.h +++ b/VoodooPS2Trackpad/VoodooPS2TouchPadBase.h @@ -7,7 +7,7 @@ #include "ApplePS2MouseDevice.h" #include -#include +#include #include #include "Decay.h" diff --git a/VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist b/VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist index 234c945..28cc3ba 100644 --- a/VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist +++ b/VoodooPS2Trackpad/VoodooPS2Trackpad-Info.plist @@ -180,7 +180,7 @@ OSBundleLibraries - com.apple.iokit.IOHIDSystem + com.apple.iokit.IOHIDFamily 1.0.0b1 com.apple.kpi.iokit 9.0.0