2

I want to create a new keymapping on macosx, so I can create advanced multi-key commands. Basically, I want to create a a keymapping for transforming a normal keyboard into a chorded keyboard, optimized for writing code in c-like languages.

What I am wondering, is it possible to create that general keymaps, or is it possible to create a layer in the OS, intercepting the keyboard input at a low level and implementing the transform there.

If not, does anybody know where I can find sourcecode for a driver for a general HID-keyboard, that I can use as a base for a keyboard driver doing this?

4

1 回答 1

0

我认为这是您要开始的地方: https ://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/HandlingKeyEvents/HandlingKeyEvents.html

实际上我有兴趣尝试同样的事情,我真的不喜欢我看到的大多数和弦键盘,并且更喜欢在不构建硬件的情况下进行原型设计。

于 2013-03-02T03:04:10.037 回答