Skip to content

Magic Kayboard(JIS配列)のProductIDを追加。EjectとFnは認識されていない。 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Misuzilla.Applications.AppleWirelessKeyboardHelper/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/// <summary>
///
Expand Down Expand Up @@ -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);
Expand Down