From d0cca34c9dd5b91b2acb4b1c4f3ffa71e2a0ef9d Mon Sep 17 00:00:00 2001 From: Drunkar Date: Sun, 20 Dec 2015 03:02:57 +0900 Subject: [PATCH] =?UTF-8?q?Magic=20Kayboard(JIS=E9=85=8D=E5=88=97)?= =?UTF-8?q?=E3=81=AEProductID=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=82Eject?= =?UTF-8?q?=E3=81=A8Fn=E3=81=AF=E8=AA=8D=E8=AD=98=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs b/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs index 402af3a..3379b1a 100644 --- a/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs +++ b/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs @@ -34,6 +34,7 @@ internal class Helper : IDisposable private const UInt32 PIDAppleWirelessKeyboardJIS_MC184JA = 0x23b; private const UInt32 PIDAppleWirelessKeyboardJIS_MC184JB = 0x257; private const UInt32 PIDAppleKeyboardWithoutTenKeyUS = 0x21d; + private const UInt32 PIDAppleMagicKeyboardJIS = 0x267; /// /// @@ -77,7 +78,8 @@ internal Boolean Start() attrib.ProductID == PIDAppleWirelessKeyboardJIS_MC184JA || attrib.ProductID == PIDAppleWirelessKeyboardJIS_MC184JB || attrib.ProductID == PIDAppleWirelessKeyboardUS_MC184LL || - attrib.ProductID == PIDAppleWirelessKeyboardUS_MC184LLB + attrib.ProductID == PIDAppleWirelessKeyboardUS_MC184LLB || + attrib.ProductID == PIDAppleMagicKeyboardJIS )) { _stream = new FileStream(mHandle, FileAccess.ReadWrite, 22, true);