从 Github 页面安装 WinAppleKey 驱动程序时遇到问题
Having trouble installing WinAppleKey Driver from Github page
我希望在 Windows 10 机器上使用 Apple 魔术键盘时能够捕获来自 Fn 和 Eject 键的输入。为此,我遇到了一个名为 WinAppleKey (https://github.com/samartzidis/WinAppleKey) 的开源驱动程序。自述文件提到了一个 setup.msi 文件,下载后我无法在 repo 中找到它。那么我该如何实际安装驱动程序呢?
我试过 运行 WinAppleKey.sln 文件,尽管有最新版本的 WDK 和 SDK,但由于以下错误,该文件仍无法正常工作:
Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "SLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 16389
Error (active) E0035 #error directive: "No target architecture defined" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 9103
Error (active) E0020 identifier "PDRIVER_EXCPTN_CALLBACK" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13802
Error (active) E0020 identifier "PCMC_EXCEPTION" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13879
Error (active) E0020 identifier "PCPE_EXCEPTION" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13890
Error (active) E0020 identifier "SLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 16409
Error (active) E0035 #error directive: "No target architecture defined" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 20679
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23818
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23887
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23988
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23994
Error (active) E0020 identifier "PFN_NUMBER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 27128
Error (active) E0035 #error directive: "No Target Architecture" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\shared\ntdef.h 201
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 24001
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23901
您可能已经找到了,但是 setup.msi 文件在项目的发布文件中,而不是代码源中。
您可以从以下位置下载它:https://github.com/samartzidis/WinAppleKey/releases/tag/v1.0.9
您只需单击 setup.msi 即可将其下载到您的 PC 上。
我希望在 Windows 10 机器上使用 Apple 魔术键盘时能够捕获来自 Fn 和 Eject 键的输入。为此,我遇到了一个名为 WinAppleKey (https://github.com/samartzidis/WinAppleKey) 的开源驱动程序。自述文件提到了一个 setup.msi 文件,下载后我无法在 repo 中找到它。那么我该如何实际安装驱动程序呢?
我试过 运行 WinAppleKey.sln 文件,尽管有最新版本的 WDK 和 SDK,但由于以下错误,该文件仍无法正常工作:
Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "SLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 16389
Error (active) E0035 #error directive: "No target architecture defined" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 9103
Error (active) E0020 identifier "PDRIVER_EXCPTN_CALLBACK" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13802
Error (active) E0020 identifier "PCMC_EXCEPTION" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13879
Error (active) E0020 identifier "PCPE_EXCEPTION" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\ntddk.h 13890
Error (active) E0020 identifier "SLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 16409
Error (active) E0035 #error directive: "No target architecture defined" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 20679
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23818
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23887
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23988
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23994
Error (active) E0020 identifier "PFN_NUMBER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 27128
Error (active) E0035 #error directive: "No Target Architecture" WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\shared\ntdef.h 201
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 24001
Error (active) E0020 identifier "PSLIST_HEADER" is undefined WinAppleKey C:\Program Files (x86)\Windows Kits\Include.0.19041.0\km\wdm.h 23901
您可能已经找到了,但是 setup.msi 文件在项目的发布文件中,而不是代码源中。
您可以从以下位置下载它:https://github.com/samartzidis/WinAppleKey/releases/tag/v1.0.9
您只需单击 setup.msi 即可将其下载到您的 PC 上。