键盘仅因其各自的扫描代码而有所不同?

发布于 2025-02-09 04:32:03 字数 157 浏览 2 评论 0原文

我正在研究自己作为爱好的操作系统。目前,我正在为操作系统编写PS/2键盘驱动程序,并想知道其他键盘(例如USB键盘)是否仅通过其各自的扫描代码与PS/2键盘有所不同。

这个假设是真的吗?提前致谢。

编辑
一些细节:我的操作系统是32位,因此我没有使用任何硬件中断。

I am working on an operating system that I created as a hobby. Currently I am writing a PS/2 keyboard driver for my OS, and wondering whether other keyboards (eg, USB keyboards) differ from a PS/2 keyboard only by their respective scan codes.

Is this assumption true? Thanks in advance.

EDIT
Some details: My OS is 32-bit and so I am not using any hardware interrupts.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沐歌 2025-02-16 04:32:03

就我而言,PS/2键盘和其他键盘仅在几种方面有所不同,扫描代码,灯光(例如盖帽锁,滚动锁)和键盘可能具有的额外功能(读卡器等)。

As far as I am concerned PS/2 keyboards and other keyboards only differ in a few ways, the scan codes, the lights (eg caps lock, scroll lock) and extra features that the keyboard might have (card readers, etc).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文