Skip to content

Commit

Permalink
Version 1(Type Cover Integrated)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiashangning committed Jun 29, 2021
1 parent 6418f8a commit b07eec5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 90 deletions.
16 changes: 0 additions & 16 deletions BigSurface/BigSurface.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@

/* Begin PBXBuildFile section */
258836AB260C5F6E00BD1AAC /* VoodooI2CPCIController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 258836AA260C5F6E00BD1AAC /* VoodooI2CPCIController.cpp */; };
25B97D77260B950E00657C76 /* SurfaceButtons.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 257AD12C2609DBEA0082CA88 /* SurfaceButtons.cpp */; };
25B97D78260B950E00657C76 /* VoodooI2CDeviceNub.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AC0AD4561F3842800070A642 /* VoodooI2CDeviceNub.cpp */; };
25B97D7A260B950E00657C76 /* VoodooI2CPCILakeController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6FE8F89A25290B9600318126 /* VoodooI2CPCILakeController.cpp */; };
25B97D7B260B950E00657C76 /* VoodooI2CControllerNub.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ACF810E61F3304720031A6F5 /* VoodooI2CControllerNub.cpp */; };
25B97D7C260B950E00657C76 /* VoodooI2CController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AC6268921F2F6CF1000CBF2D /* VoodooI2CController.cpp */; };
25B97D82260B950E00657C76 /* VoodooI2CControllerDriver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = ACFCBA8E1F33644D00F9B59C /* VoodooI2CControllerDriver.cpp */; };
25B97D89260B950E00657C76 /* libkmod.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BE66D8F258AC5DC003CA4AD /* libkmod.a */; };
25B97D8E260B950E00657C76 /* SurfaceButtons.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 257AD1292609DBE20082CA88 /* SurfaceButtons.hpp */; };
25B97D90260B950E00657C76 /* VoodooI2CControllerNub.hpp in Headers */ = {isa = PBXBuildFile; fileRef = ACF810E71F3304720031A6F5 /* VoodooI2CControllerNub.hpp */; };
25B97D91260B950E00657C76 /* VoodooI2CControllerDriver.hpp in Headers */ = {isa = PBXBuildFile; fileRef = ACFCBA8F1F33644D00F9B59C /* VoodooI2CControllerDriver.hpp */; };
25B97D96260B950E00657C76 /* VoodooI2CDeviceNub.hpp in Headers */ = {isa = PBXBuildFile; fileRef = AC0AD4571F3842800070A642 /* VoodooI2CDeviceNub.hpp */; };
Expand Down Expand Up @@ -97,8 +95,6 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
257AD1292609DBE20082CA88 /* SurfaceButtons.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = SurfaceButtons.hpp; sourceTree = "<group>"; };
257AD12C2609DBEA0082CA88 /* SurfaceButtons.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SurfaceButtons.cpp; sourceTree = "<group>"; };
258836AA260C5F6E00BD1AAC /* VoodooI2CPCIController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VoodooI2CPCIController.cpp; path = VoodooI2CController/VoodooI2CPCIController.cpp; sourceTree = "<group>"; };
25B97DA5260B950E00657C76 /* BigSurface.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BigSurface.kext; sourceTree = BUILT_PRODUCTS_DIR; };
25B97DB8260B971000657C76 /* VoodooGPIO.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = VoodooGPIO.xcodeproj; path = ../../../Dependencies/VoodooGPIO/VoodooGPIO.xcodeproj; sourceTree = "<group>"; };
Expand Down Expand Up @@ -170,7 +166,6 @@
isa = PBXGroup;
children = (
AC0955711F4ED49E0052E343 /* Dependencies */,
25B97DB0260B95F700657C76 /* SurfaceButtons */,
25B97DAF260B95B600657C76 /* SurfaceTypeCover */,
AC2603B21F2F294000CF238F /* VoodooI2C */,
);
Expand All @@ -192,15 +187,6 @@
path = SurfaceTypeCover;
sourceTree = "<group>";
};
25B97DB0260B95F700657C76 /* SurfaceButtons */ = {
isa = PBXGroup;
children = (
257AD12C2609DBEA0082CA88 /* SurfaceButtons.cpp */,
257AD1292609DBE20082CA88 /* SurfaceButtons.hpp */,
);
path = SurfaceButtons;
sourceTree = "<group>";
};
25B97DB9260B971000657C76 /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -376,7 +362,6 @@
25B97DFE260B97AD00657C76 /* MultitouchHelpers.hpp in Headers */,
25B97E2E260BA13A00657C76 /* VoodooI2CHIDTransducerWrapper.hpp in Headers */,
25B97DFF260B97AD00657C76 /* VoodooI2CCSGestureEngine.hpp in Headers */,
25B97D8E260B950E00657C76 /* SurfaceButtons.hpp in Headers */,
25B97E1C260B9F1100657C76 /* VoodooI2CMultitouchHIDEventDriver.hpp in Headers */,
25B97DD0260B973400657C76 /* VoodooI2CACPICRSParser.hpp in Headers */,
25B97DFB260B97AD00657C76 /* VoodooI2CDigitiserStylus.hpp in Headers */,
Expand Down Expand Up @@ -531,7 +516,6 @@
files = (
25B97DCE260B973400657C76 /* VoodooI2CACPICRSParser.cpp in Sources */,
25B97E0B260B97AD00657C76 /* VoodooI2CMultitouchEngine.cpp in Sources */,
25B97D77260B950E00657C76 /* SurfaceButtons.cpp in Sources */,
25B97D78260B950E00657C76 /* VoodooI2CDeviceNub.cpp in Sources */,
25B97D7A260B950E00657C76 /* VoodooI2CPCILakeController.cpp in Sources */,
25B97DFC260B97AD00657C76 /* VoodooI2CNativeEngine.cpp in Sources */,
Expand Down
67 changes: 2 additions & 65 deletions BigSurface/BigSurface/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -262,28 +262,7 @@
<key>HIDDisallowRemappingOfPrimaryClick</key>
<true/>
<key>HIDPointerAccelerationTable</key>
<data>
AACAAFVTQioABwAAAAAAAgAEAAAABAAAABAAAAAQAAAAACAAAA0A
AIAAAACAAAABQAAAAYAAAAIAAAAC4AAAAwAAAATgAAAEAAAAB0AA
AAUAAAAKAAAABgAAAA1AAAAIAAAAFgAAAArAAAAjAAAADQAAAC8A
AAAOwAAAOMAAABBAAABBAAAAEcAAAEjAAAAAUAAADwAAgAAAAIAA
AAEAAAABQAAAAYAAAAJAAAACAAAAA4AAAAKAAAAE4AAAAwAAAAZg
AAAEAAAACgAAAAUAAAAOQAAABgAAABNAAAAIAAAAHsAAAArAAAAu
wAAADQAAADyAAAAOwAAARwAAABBAAABPwAAAEcAAAFiAAAAAgAAA
DwAAgAAAAIAAAAEAAAABYAAAAYAAAAKgAAACAAAABEAAAAKAAAAG
AAAAAwAAAAgAAAAEAAAADQAAAAUAAAASwAAABgAAABkAAAAIAAAA
KAAAAArAAAA7wAAADQAAAEuAAAAOwAAAV0AAABBAAABgQAAAEcAA
AGkAAAAAsAAADwAAgAAAAIAAAAEAAAABoAAAAYAAAAMAAAACAAAA
BQAAAAKAAAAHQAAAAwAAAAnAAAAEAAAAEEAAAAUAAAAXgAAABgAA
AB/AAAAIAAAAMgAAAArAAABKAAAADQAAAFyAAAAOwAAAaQAAABBA
AABywAAAEcAAAHrAAAAA4AAADwAAgAAAAKAAAAEAAAABwAAAAYAA
AANgAAACAAAABeAAAAKAAAAIoAAAAwAAAAvAAAAEAAAAE8AAAAUA
AAAdQAAABgAAACfAAAAIAAAAPcAAAArAAABZAAAADQAAAG3AAAAO
wAAAe0AAABBAAACFQAAAEcAAAIxAAAABAAAADwAAgAAAAMAAAAEA
AAACAAAAAYAAAAPgAAACAAAABsAAAAKAAAAKQAAAAwAAAA5gAAAE
AAAAGMAAAAUAAAAkwAAABgAAADLAAAAIAAAATUAAAArAAABugAAA
DQAAAIMAAAAOwAAAj0AAABBAAACXAAAAEcAAAJxA
</data>
<data>AACAAFVTQioABwAAAAAAAgAEAAAABAAAABAAAAAQAAAAACAAAA0AAIAAAACAAAABQAAAAYAAAAIAAAAC4AAAAwAAAATgAAAEAAAAB0AAAAUAAAAKAAAABgAAAA1AAAAIAAAAFgAAAArAAAAjAAAADQAAAC8AAAAOwAAAOMAAABBAAABBAAAAEcAAAEjAAAAAUAAADwAAgAAAAIAAAAEAAAABQAAAAYAAAAJAAAACAAAAA4AAAAKAAAAE4AAAAwAAAAZgAAAEAAAACgAAAAUAAAAOQAAABgAAABNAAAAIAAAAHsAAAArAAAAuwAAADQAAADyAAAAOwAAARwAAABBAAABPwAAAEcAAAFiAAAAAgAAADwAAgAAAAIAAAAEAAAABYAAAAYAAAAKgAAACAAAABEAAAAKAAAAGAAAAAwAAAAgAAAAEAAAADQAAAAUAAAASwAAABgAAABkAAAAIAAAAKAAAAArAAAA7wAAADQAAAEuAAAAOwAAAV0AAABBAAABgQAAAEcAAAGkAAAAAsAAADwAAgAAAAIAAAAEAAAABoAAAAYAAAAMAAAACAAAABQAAAAKAAAAHQAAAAwAAAAnAAAAEAAAAEEAAAAUAAAAXgAAABgAAAB/AAAAIAAAAMgAAAArAAABKAAAADQAAAFyAAAAOwAAAaQAAABBAAABywAAAEcAAAHrAAAAA4AAADwAAgAAAAKAAAAEAAAABwAAAAYAAAANgAAACAAAABeAAAAKAAAAIoAAAAwAAAAvAAAAEAAAAE8AAAAUAAAAdQAAABgAAACfAAAAIAAAAPcAAAArAAABZAAAADQAAAG3AAAAOwAAAe0AAABBAAACFQAAAEcAAAIxAAAABAAAADwAAgAAAAMAAAAEAAAACAAAAAYAAAAPgAAACAAAABsAAAAKAAAAKQAAAAwAAAA5gAAAEAAAAGMAAAAUAAAAkwAAABgAAADLAAAAIAAAATUAAAArAAABugAAADQAAAIMAAAAOwAAAj0AAABBAAACXAAAAEcAAAJxA</data>
<key>HIDPointerAccelerationType</key>
<string>HIDTrackpadAcceleration</string>
<key>HIDScrollAccelCurves</key>
Expand Down Expand Up @@ -408,34 +387,7 @@
</dict>
</array>
<key>HIDScrollAccelerationTable</key>
<data>
AACAAFVTQioABwAAAAAAAQABAAAAAQAAAAAgAAAQAABxOwAATOMA
AwAAAAdgAAAEwAAADoAAAAbxSgAX6V4ACVeCACMQWgALZ6EALBF7
AA2N1AA03ToAD36aADvQuAASWKAARl01ABUAAABO2dgAF8AAAFXK
7QAas+UAW2FQAB2QAABe0qoAIL75AGEgywAkLXsAYnXvACewAABj
Rl8AAIAAABMAAHE7AABWfwABAAAAAuAAAAIAAAAJYAAAAwAAABIA
AAAEwAAAIMAAAAaAAAAwgAAACGp5AEH9tgAK7bUAV4ZuAA0B2ABr
PTkADv1/AIEEcAAQy5gAkdRWABJouQCe3VAAE+c/AKikCgAXAucA
tn2SABot3ADARE4AHVjQAMX4OgAg35IAytuYACQ4bgDO7mUAJ6CX
ANIwowAAsAAAFAAAcTsAAGFOAADAAAABwAAAAQAAAANgAAACAAAA
DCAAAAMAAAAW4AAABMAAACnAAAAGQAAAOsAAAAfOggBP7OcACgWA
AGo8rgAL658AhMCkAA2RCwCfR+EADzjIALWDbwAQ/k8AxqbEABLN
UQDUeCMAFepmAOTKxwAZoVYA8qFmAB1CvwD7fXwAIQuCAQFpdAAk
S20BBVKIACegAAEIK4wAAOAAABQAAHE7AABtdwAAwAAAAeAAAAEA
AAAD4AAAAgAAAA6AAAADAAAAHEAAAATAAAA0AAAABgAAAEdAAAAH
N4wAXL7hAAkAAACAwAAACoAAAKGAAAALz7IAvU7UAA01yQDadikA
DvtPAPKF4gARLu4BCSWiABUlDwEfV8QAGT9oASzRKgAdChkBNQrG
ACDz5QE6cR4AJEARAT3XdgAnn1YBQMHWAABQAAATAABxOwAAS7AA
AQAAAAJgAAACAAAABuAAAAMAAAAMYAAABMAAABcAAAAGwAAAJAAA
AAkAAAAyAAAACz1uAEFngAANcE8AUMGhAA+sTQBgSTMAEagdAG5N
TAATT9YAd9WQABTQfgB+26MAF3odAIbYXQAagocAjp+lAB2J6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GACDz5QE6cR4AJEARAT3XdgAnn1YBQMHWAABQAAATAABxOwAAS7AAAQAAAAJgAAACAAAABuAAAAMAAAAMYAAABMAAABcAAAAGwAAAJAAAAAkAAAAyAAAACz1uAEFngAANcE8AUMGhAA+sTQBgSTMAEagdAG5NTAATT9YAd9WQABTQfgB+26MAF3odAIbYXQAagocAjp+lAB2J6QCTvnkAIN/yAJdcWwAkO0IAmYu9ACegOACacdcAAQAAABUAAHE7AABWfwAAwAAAAiAAAAEAAAAEgAAAAYAAAAqAAAACAAAAEaAAAAMAAAAhgAAABMAAAD6AAAAFwAAAVEAAAAbAAABrAAAACAAAAIxAAAAJAAAAqYAAAApAAADKwAAAC8AAAPTAAAANwAABJAAAABAAAAFEn9IAFEAAAV49zAAZAAABbrsYABzQAAFz78AAIOAAAXhvwAAkIAABem/AACegAAF8JGg=</data>
<key>HIDScrollAccelerationType</key>
<string>HIDTrackpadScrollAcceleration</string>
<key>HIDScrollResolution</key>
Expand Down Expand Up @@ -473,21 +425,6 @@
<key>IOProviderClass</key>
<string>VoodooI2CMultitouchInterface</string>
</dict>
<key>Surface Buttons</key>
<dict>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>IOClass</key>
<string>SurfaceButtons</string>
<key>IOMatchCategory</key>
<string>IODefaultMatchCategory</string>
<key>IONameMatch</key>
<string>MSHW0040</string>
<key>IOProbeScore</key>
<integer>400</integer>
<key>IOProviderClass</key>
<string>IOACPIPlatformDevice</string>
</dict>
<key>Surface Type Cover Driver</key>
<dict>
<key>CFBundleIdentifier</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// VoodooI2CPrecisionTouchpadHIDEventDriver.cpp
// VoodooI2CHID
//
// Created by Xia Shangning on 21/04/2021.
// Copyright © 2021 Xia Shangning. All rights reserved.
//

#include "SurfaceTypeCoverDriver.hpp"

#include <IOKit/hid/AppleHIDUsageTables.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SurfaceTypeCoverDriver.hpp
// BigSurface
//
// Created by Xia Shangning on 21/04/2021.
// Created by Xia on 21/04/2021.
// Copyright © 2021 Xia Shangning. All rights reserved.
//

Expand Down

0 comments on commit b07eec5

Please sign in to comment.