aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-04 14:13:44 +0200
committerTeddy Wing2018-10-04 14:13:44 +0200
commitfb46a8b01ccf243b0caa360e360c43f1fc2df7de (patch)
treea1172d45f6ec1a956a5c3f29213a71b914540e1f
parentb18af59bdb84a038a413f0beab2eb40d30b6bae4 (diff)
downloadDomeKey-fb46a8b01ccf243b0caa360e360c43f1fc2df7de.tar.bz2
Add a new `Mappings` class
We'll reload the mappings file here.
-rw-r--r--DomeKey.xcodeproj/project.pbxproj6
-rw-r--r--DomeKey/Mappings.h13
-rw-r--r--DomeKey/Mappings.m13
3 files changed, 32 insertions, 0 deletions
diff --git a/DomeKey.xcodeproj/project.pbxproj b/DomeKey.xcodeproj/project.pbxproj
index 50ca0e7..4c7f32a 100644
--- a/DomeKey.xcodeproj/project.pbxproj
+++ b/DomeKey.xcodeproj/project.pbxproj
@@ -10,6 +10,7 @@
D110C9482122E2D80094F963 /* HeadphoneKey.m in Sources */ = {isa = PBXBuildFile; fileRef = D110C9472122E2D80094F963 /* HeadphoneKey.m */; };
D110C94A2122F1ED0094F963 /* libddhid.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D160C32221197983007D1B50 /* libddhid.a */; };
D11184622125206E00961687 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D11184612125206E00961687 /* AppDelegate.m */; };
+ D131C4D321663B6500801267 /* Mappings.m in Sources */ = {isa = PBXBuildFile; fileRef = D131C4D221663B6500801267 /* Mappings.m */; };
D160C2A12118EF9D007D1B50 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D160C2A02118EF9D007D1B50 /* main.m */; };
D1E101FE2133FA0300B2CA29 /* KeyboardSimulator.m in Sources */ = {isa = PBXBuildFile; fileRef = D1E101FD2133FA0300B2CA29 /* KeyboardSimulator.m */; };
D1E1020821345E2300B2CA29 /* char_to_key_code.m in Sources */ = {isa = PBXBuildFile; fileRef = D1E1020721345E2200B2CA29 /* char_to_key_code.m */; };
@@ -71,6 +72,8 @@
D110C9472122E2D80094F963 /* HeadphoneKey.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HeadphoneKey.m; sourceTree = "<group>"; };
D11184602125206E00961687 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
D11184612125206E00961687 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ D131C4D121663B6500801267 /* Mappings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Mappings.h; sourceTree = "<group>"; };
+ D131C4D221663B6500801267 /* Mappings.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Mappings.m; sourceTree = "<group>"; };
D160C29D2118EF9D007D1B50 /* DomeKey */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DomeKey; sourceTree = BUILT_PRODUCTS_DIR; };
D160C2A02118EF9D007D1B50 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
D160C31521197983007D1B50 /* DDHidLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = DDHidLib.xcodeproj; path = lib/DDHidLib/DDHidLib.xcodeproj; sourceTree = "<group>"; };
@@ -117,6 +120,8 @@
isa = PBXGroup;
children = (
D110C9462122E2D80094F963 /* HeadphoneKey.h */,
+ D131C4D121663B6500801267 /* Mappings.h */,
+ D131C4D221663B6500801267 /* Mappings.m */,
D110C9472122E2D80094F963 /* HeadphoneKey.m */,
D1E101FC2133FA0300B2CA29 /* KeyboardSimulator.h */,
D1E101FD2133FA0300B2CA29 /* KeyboardSimulator.m */,
@@ -253,6 +258,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ D131C4D321663B6500801267 /* Mappings.m in Sources */,
D110C9482122E2D80094F963 /* HeadphoneKey.m in Sources */,
D160C2A12118EF9D007D1B50 /* main.m in Sources */,
D1E1020821345E2300B2CA29 /* char_to_key_code.m in Sources */,
diff --git a/DomeKey/Mappings.h b/DomeKey/Mappings.h
new file mode 100644
index 0000000..ee878f1
--- /dev/null
+++ b/DomeKey/Mappings.h
@@ -0,0 +1,13 @@
+//
+// Mappings.h
+// DomeKey
+//
+// Created by tw on 10/4/18.
+// Copyright © 2018 tw. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface Mappings : NSObject
+
+@end
diff --git a/DomeKey/Mappings.m b/DomeKey/Mappings.m
new file mode 100644
index 0000000..bf68829
--- /dev/null
+++ b/DomeKey/Mappings.m
@@ -0,0 +1,13 @@
+//
+// Mappings.m
+// DomeKey
+//
+// Created by tw on 10/4/18.
+// Copyright © 2018 tw. All rights reserved.
+//
+
+#import "Mappings.h"
+
+@implementation Mappings
+
+@end