截取笔记本电脑上的 Fn 键 [英] Intercepting the Fn key on laptops

查看:21
本文介绍了截取笔记本电脑上的 Fn 键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时当我在 Thinkpad/MSI 笔记本电脑上工作时,CtrlFn 键会互换(Fn 是最左边的键),并且它让我发疯——我一直按 Fn 而不是 Ctrl.

Sometimes when I work on Thinkpads/MSI laptops, the Ctrl and Fn key are swapped (Fn being the leftmost key), and it drives me nuts - I keep hitting Fn instead of Ctrl.

我想知道是否有可能拦截 Fn 键.我想写一个交换 Ctrl/Fn 键的钩子,但似乎操作系统根本没有处理 Fn .

I was wondering if it's at all possible to intercept the Fn key. I'd like to write a hook that swaps the Ctrl / Fn keys, but it seems that Fn is not being processed by the OS at all.

有什么想法吗?

推荐答案

对不起.正如您所提到的,操作系统不处理 Fn 键,而是作为 Fn + [key] 的元组接收.您可能做的最好的事情是将每个 Fn + [key] 组合映射到 ctrl (只有当您从不使用 Fn 键时).

Sorry. As you mentioned, the Fn key isn't processed by the OS, but received as tuples of Fn + [key] . The best you could probably do would be mapping every Fn + [key] combination to ctrl (and that's only if you never use Fn keys).

找到 这个.在你放弃希望之前,不妨试一试.

Found this. Before you give up hope, might want to give it a try.

这篇关于截取笔记本电脑上的 Fn 键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆