-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MacbookAir10,1 ID instead of SPI touchpad ID on macOS 12+ (#26)
macOS Sequoia dropped the IOKit personalities for all the SPI touchpads, including the one used by VoodooInput.
- Loading branch information
1 parent
3de53b0
commit f8f8b65
Showing
5 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// VoodooInputIDs.hpp | ||
// | ||
// Created by Avery Black on 6/15/24. | ||
// Copyright © 2024 Kishor Prins. All rights reserved. | ||
// | ||
|
||
#ifndef VOODOO_INPUT_IDS_HPP | ||
#define VOODOO_INPUT_IDS_HPP | ||
|
||
// macOS 10.10-14 | ||
constexpr int kVoodooInputProductMacbook8_1 = 0x272; | ||
// macOS 12+ | ||
constexpr int kVoodooInputProductMacbookAir10_1 = 0x281; | ||
constexpr int kVoodooInputVendorApple = 0x5ac; | ||
|
||
constexpr int kVoodooInputVersionMonterey = 21; | ||
|
||
int VoodooInputGetProductId(); | ||
|
||
#endif // VOODOO_INPUT_IDS_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters