百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

DFRDisplayKm

> 编程语言
开源

Windows 基础架构对 Apple DFR (触控栏) 的支持

182 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Windows 基础架构对 Apple DFR (触控栏) 的支持

Touch Bar (DFR) Display Driver for Windows

This driver implements custom display functionality for Apple Touch Bar (DFR) on Windows 10. Touch Bar is a USB composite device with two configurations. The first configuration implements basic function and media key input. Windows always takes the first configuration by default.

With proper configuration in the USB composite device driver stack, it is possible to select the second configuration for achieving advanced display and input functionalities.

This driver implements the display (iBridge Display). The composition device also exposes a HID-compliant Touch Pad (actually, a Touch Screen). It does report Y-axis data but such data are useless due to the form factor of Touch Bar. For more information about the HID digitizer, see DFRContentHost for further details.

Motivation

Keep myself busy during the last few weeks of my internship (thank you LinkedIn & Microsoft)

I should register this project to //oneweek/ next time

Installation

No official signed binary will be built at this moment. To build the driver, a few software needs to be installed including Visual Studio 2019 (with C/C++ workload) and Windows 10 Driver Kit, Version 1903. Install DFRUsbCcgp.inf for the "Apple Touch Bar" device first, then install DFRDisplayKm.inf for the "iBridge Display" device.

You need to turn off Secure Boot as described in the Apple Knowledge Base.

IOCTLs

Two IOCTLs are provided:

  • IOCTL_DFR_UPDATE_FRAMEBUFFER: Update the FrameBuffer.
  • IOCTL_DFR_CLEAR_FRAMEBUFFER: Clear the FrameBuffer.

Check the badly-written user-mode application example DFRDisplayUm.Utility.Console for detailed usage.

Known Caveats

  • Only Apple T2-based MacBook Pro(s) are confirmed supported. T1 support is added but not yet tested.
  • The driver might fails to load on T2 cold boot. Reboot the computer once and it should work.
  • UDCL read acknowledgement is implemented, but I have not yet intensively tested.
  • FrameBuffer update/clear are synchronous calls.

License

Copyright (c) Bingxing Wang. All rights reserved.

Licensed under the MIT License.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cmacbook-protouch-barwindows-driver

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言