Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
FU Wenhui committed Jul 19, 2016
0 parents commit 65b7992
Show file tree
Hide file tree
Showing 5 changed files with 1,791 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Utility for 'ThinkPad Compact Bluetooth Keyboard with TrackPoint' (0B47189) for OSX

- Adapted from https://github.com/lentinj/tp-compact-keyboard.
- It
- switches on fn-lock
- changes middle button mode

It needs to be run with `sudo`.
247 changes: 247 additions & 0 deletions tpkb.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
DB9BA97319F413E300F6722D /* hid.c in Sources */ = {isa = PBXBuildFile; fileRef = DB9BA97219F413E300F6722D /* hid.c */; };
DB9BA97519F413ED00F6722D /* tp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DB9BA97419F413ED00F6722D /* tp.cpp */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
DB9BA96519F4139A00F6722D /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
DB9BA96719F4139A00F6722D /* tpkb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tpkb; sourceTree = BUILT_PRODUCTS_DIR; };
DB9BA97119F413D300F6722D /* hidapi.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = hidapi.h; sourceTree = "<group>"; };
DB9BA97219F413E300F6722D /* hid.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hid.c; sourceTree = "<group>"; };
DB9BA97419F413ED00F6722D /* tp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tp.cpp; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
DB9BA96419F4139A00F6722D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
DB9BA95E19F4139A00F6722D = {
isa = PBXGroup;
children = (
DB9BA96919F4139A00F6722D /* tpkb */,
DB9BA96819F4139A00F6722D /* Products */,
);
sourceTree = "<group>";
};
DB9BA96819F4139A00F6722D /* Products */ = {
isa = PBXGroup;
children = (
DB9BA96719F4139A00F6722D /* tpkb */,
);
name = Products;
sourceTree = "<group>";
};
DB9BA96919F4139A00F6722D /* tpkb */ = {
isa = PBXGroup;
children = (
DB9BA97419F413ED00F6722D /* tp.cpp */,
DB9BA97219F413E300F6722D /* hid.c */,
DB9BA97119F413D300F6722D /* hidapi.h */,
);
path = tpkb;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
DB9BA96619F4139A00F6722D /* tpkb */ = {
isa = PBXNativeTarget;
buildConfigurationList = DB9BA96E19F4139A00F6722D /* Build configuration list for PBXNativeTarget "tpkb" */;
buildPhases = (
DB9BA96319F4139A00F6722D /* Sources */,
DB9BA96419F4139A00F6722D /* Frameworks */,
DB9BA96519F4139A00F6722D /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = tpkb;
productName = tpkb;
productReference = DB9BA96719F4139A00F6722D /* tpkb */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
DB9BA95F19F4139A00F6722D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = "Fu Wenhui";
TargetAttributes = {
DB9BA96619F4139A00F6722D = {
CreatedOnToolsVersion = 6.1;
};
};
};
buildConfigurationList = DB9BA96219F4139A00F6722D /* Build configuration list for PBXProject "tpkb" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = DB9BA95E19F4139A00F6722D;
productRefGroup = DB9BA96819F4139A00F6722D /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
DB9BA96619F4139A00F6722D /* tpkb */,
);
};
/* End PBXProject section */

/* Begin PBXSourcesBuildPhase section */
DB9BA96319F4139A00F6722D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DB9BA97319F413E300F6722D /* hid.c in Sources */,
DB9BA97519F413ED00F6722D /* tp.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
DB9BA96C19F4139A00F6722D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
DB9BA96D19F4139A00F6722D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
DB9BA96F19F4139A00F6722D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Debug;
};
DB9BA97019F4139A00F6722D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
DB9BA96219F4139A00F6722D /* Build configuration list for PBXProject "tpkb" */ = {
isa = XCConfigurationList;
buildConfigurations = (
DB9BA96C19F4139A00F6722D /* Debug */,
DB9BA96D19F4139A00F6722D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
DB9BA96E19F4139A00F6722D /* Build configuration list for PBXNativeTarget "tpkb" */ = {
isa = XCConfigurationList;
buildConfigurations = (
DB9BA96F19F4139A00F6722D /* Debug */,
DB9BA97019F4139A00F6722D /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = DB9BA95F19F4139A00F6722D /* Project object */;
}
Loading

0 comments on commit 65b7992

Please sign in to comment.