So I'm a user of voodooI2C. As you might know, Windows/Linux/VoodooPS2/EverythingYouCouldThinkOf uses double-tap to drag, but not Apple. Apple likes to force me to use three-finger drag. I really miss the double-tap to drag without any drag lock / some weird detach delay after dragging.
I investigated some codes, and it seems like AppleMultitouchDriver.kext/Contents/PlugIns/MultitouchHID.plugin/
is responsible for multitouch gesture handling things. I've investigated things further with a Cutter decompiler (I'm not asm guy), and It seems like this double table is responsible for the delays. I don't know exactly what entry corresponds to the drag delay,
This is that table. All entries are in IEE754 double format.
0ad7 a370 3d0a b73f // 9 7b14 ae47 e17a c43f // 0.16 b81e 85eb 51b8 be3f // 0.12 9a99 9999 9999 a93f // 0.05 9a99 9999 9999 b93f // 0.1 b81e 85eb 51b8 ae3f // 0.06 0000 0000 0000 d03f // 0.25 7b14 ae47 e17a 943f // 0.02 9a99 9999 9999 c93f // 0.2 0000 0000 0000 e03f // 0.5 0000 0000 0000 e83f // 0.75 0000 0000 0000 e43f // 0.625 1f85 eb51 b81e d53f // 0.33 0a00 0000 0000 0000 // 5e-323 0000 0000 0000 d03f // 0.25 9a99 9999 9999 b93f // 0.1 0000 0000 0000 e03f // 0.5 3bdf 4f8d 976e a23f // 0.036 9a99 9999 9999 a93f // 0.05 0000 0000 0000 0040 // 2.0 0000 0000 0000 2440 // 10.0 3333 3333 3333 c33f // 0.15 0000 a042 0000 0000 // 0 7b14 ae47 e17a a43f // 0.04 0000 0000 0000 d03f // 0.25
I actually suspect 0000 0000 0000 e83f // 0.75
line is the entry I need to patch, but I don't really know how to create OC/CLOVER configuration to patch the binary like this.
1) According to kextstat MultitouchHID.plugin
doesn't seem to be loaded as a kext entry. I know it is loaded somehow. I modified the executable binary itself with iHex, but it just halts macOS on the boot.
2) I don't know exactly where this plugin resides on the kext-cache, nor the plugin identifier to target with OC kext patcher. Maybe some codesigning/checksum going on?
Any ideas? Could you help me create a kext/kernel patch for this?
I'm also okay with using BTT / non-hackintosh extensions, but I haven't found the other way.
[link] [comments]
Post a Comment