Changeset 366

Show
Ignore:
Timestamp:
02/04/08 09:40:01 (11 months ago)
Author:
tomoyo
Message:

FRなキーボードにも対応してみた。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Apple Wireless Keyboard Helper/trunk/Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs

    r350 r366  
    2626        private const UInt32 VIDApple = 0x5ac; 
    2727        private const UInt32 PIDAppleWirelessKeyboardUS = 0x22c; 
     28        private const UInt32 PIDAppleWirelessKeyboardFR = 0x22d; 
    2829        private const UInt32 PIDAppleWirelessKeyboardJIS = 0x22e; 
    2930 
     
    6263                        Debug.WriteLine(String.Format("VendorID:{0:x}, ProductID:{1:x}, VersionNumber:{2:x}", attrib.VendorID, attrib.ProductID, attrib.VersionNumber)); 
    6364                        if (attrib.VendorID == VIDApple && 
    64                            (attrib.ProductID == PIDAppleWirelessKeyboardUS || attrib.ProductID == PIDAppleWirelessKeyboardJIS)) 
     65                           (attrib.ProductID == PIDAppleWirelessKeyboardUS || attrib.ProductID == PIDAppleWirelessKeyboardJIS || attrib.ProductID == PIDAppleWirelessKeyboardFR)) 
    6566                        { 
    6667                            _stream = new FileStream(mHandle, FileAccess.ReadWrite, 22, true);