Changeset 334
- Timestamp:
- 10/16/07 22:52:24 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Apple Wireless Keyboard Helper/trunk/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs
r320 r334 25 25 26 26 private const UInt32 VIDApple = 0x5ac; 27 private const UInt32 PIDAppleWirelessKeyboard = 0x22c; 27 private const UInt32 PIDAppleWirelessKeyboardUS = 0x22c; 28 private const UInt32 PIDAppleWirelessKeyboardJIS = 0x22e; 28 29 29 30 /// <summary> … … 60 61 { 61 62 Debug.WriteLine(String.Format("VendorID:{0:x}, ProductID:{1:x}, VersionNumber:{2:x}", attrib.VendorID, attrib.ProductID, attrib.VersionNumber)); 62 if (attrib.VendorID == VIDApple && attrib.ProductID == PIDAppleWirelessKeyboard) 63 if (attrib.VendorID == VIDApple && 64 (attrib.ProductID == PIDAppleWirelessKeyboard || attrib.ProductID == PIDAppleWirelessKeyboardJIS)) 63 65 { 64 66 _stream = new FileStream(mHandle, FileAccess.ReadWrite, 22, true);
