Skip to content

GKMD 4.5.0

Choose a tag to compare

@4zyz4 4zyz4 released this 04 Oct 09:02
· 38 commits to main since this release

Release notes

v4.5.0 — 2026-10-04 — Xbox Series X|S persona

English | 简体中文

GKMD 4.5.0 adds a second Xbox GIP persona, the Xbox Series X|S controller
(Model 1914), and follows GKME 4.5.0.

Highlights

  • Xbox Series X|S persona — StaticProfileRegistry registers a new
    xbox-series profile (VID 045E:0B12, PID 0x0B12, product string
    Xbox Wireless Controller) with the same vendor-class GIP descriptor shape
    as the Xbox One persona (bDeviceClass 0xFF, sub-class 0x47,
    protocol 0xD0, one interrupt IN 0x81 / OUT 0x01, 64-byte packets).
  • Series GIP dialect — UsbConfigurationSpec gains GipSeries; the
    GipResponder frames 40-byte GIP_CMD_INPUT (0x20) reports: the 14-byte
    gamepad body, an 18-byte console-function map (byte 14 bit 0 = Share) and
    an 8-byte dynamic-latency block. Metadata advertises
    IConsoleFunctionMap_InputReport and DynamicLatencyInput.
  • Native recognition — Windows binds the same xboxgip.sys / xinputhid.sys
    and exposes the pad as an XInput device; SDL's GIP driver surfaces the Share
    button.

Compatibility

  • Existing personas (Xbox One, Xbox 360, Switch Pro / Joy-Con, DualShock 4,
    DualSense, wheel, keyboard, mouse) are unchanged.
  • The new backend flag gipSeries defaults to false, so Xbox One behavior is
    byte-for-byte identical to 4.3.0.

Artifact

File Notes
GKMD.dll Release build, IL, net10.0-windows, AnyCPU, embedded usbip-win2 0.9.8.0

Produced by dotnet build -c Release; Native AOT compilation happens in the
host application (GKME), not in this library.

Build / verify

dotnet build -c Release
dotnet publish -c Release -r win-x64 -p:PublishAot=true   # from a host project referencing GKMD.csproj

Known limitations

  • The bundled usbip-win2 payload is x64-only.
  • Windows only (net10.0-windows).
  • Layout (de)serialization uses reflection-based System.Text.Json; under a
    trimmed/AOT host the GKLayout* types must be preserved by the host.

Credits & license

Derived from HIDMaestro 1.5.1 (MIT); the original copyright notice is retained
in LICENSE. Bundled usbip-win2 is BSD-2-Clause, see
Resources/THIRD-PARTY-NOTICES.txt.


v4.5.0 — 2026-10-04 — Xbox Series X|S 人格

English | 简体中文

GKMD 4.5.0 新增第二种 Xbox GIP 人格——Xbox Series X|S 手柄(Model 1914),跟随
GKME 4.5.0 发布。

亮点

  • Xbox Series X|S 人格 — StaticProfileRegistry 注册新的 xbox-series
    profile(VID 045E:0B12、PID 0x0B12、产品字符串 Xbox Wireless Controller),
    descriptor 形态与 Xbox One 人格一致(bDeviceClass 0xFF、子类 0x47、
    协议 0xD0,一个中断 IN 0x81 / OUT 0x01,64 字节包)。
  • Series GIP 方言 — UsbConfigurationSpec 新增 GipSeries;GipResponder
    组帧 40 字节 GIP_CMD_INPUT(0x20)报文:14 字节手柄体 + 18 字节
    console-function map(第 14 字节 bit0 = Share)+ 8 字节 dynamic-latency
    块;元数据声明 IConsoleFunctionMap_InputReport 与 DynamicLatencyInput。
  • 原生识别 — Windows 绑定同一 xboxgip.sys / xinputhid.sys,将手柄呈现为
    XInput 设备;SDL 的 GIP 驱动可识别 Share 键。

兼容性

  • 既有各人格(Xbox One、Xbox 360、Switch Pro / Joy-Con、DualShock 4、DualSense、
    方向盘、键盘、鼠标)均不变。
  • 新增后端开关 gipSeries 默认 false,Xbox One 行为与 4.3.0 逐字节一致。

产物

文件 说明
GKMD.dll Release 构建、IL、net10.0-windows、AnyCPU,内嵌 usbip-win2 0.9.8.0

由 dotnet build -c Release 生成;Native AOT 编译在宿主应用(GKME)中完成,
而非本类库。

构建 / 验证

dotnet build -c Release
dotnet publish -c Release -r win-x64 -p:PublishAot=true   # 在引用 GKMD.csproj 的宿主工程中执行

已知限制

  • 内嵌的 usbip-win2 载荷仅支持 x64。
  • 仅支持 Windows(net10.0-windows)。
  • layout 序列化/反序列化使用基于反射的 System.Text.Json;在被裁剪的 AOT 宿主中,
    GKLayout* 类型需由宿主保留。

致谢与许可

派生自 HIDMaestro 1.5.1(MIT),原始版权声明保留在 LICENSE;
捆绑的 usbip-win2 为 BSD-2-Clause,见
Resources/THIRD-PARTY-NOTICES.txt。