This article introduces the configuration and use of the MACOSX under the Karabiner of the keyed mapping software.
Directory:
1. Introduction
2. Download
3. Software configuration
4. References
1. Introduction
Karabiner, formerly known as Keyremap4macbook, is a free and powerful keying mapping tool software. A lot of key mappings are built in, which can define the key effect according to the user's own idea, and can realize the one-click Switch mapping function and the mapping switch for the specific scene.
2. Download
is: https://pqrs.org/osx/karabiner/
3. Software configuration
In the Karabiner main interface, a lot of key mapping schemes have been provided, which can flexibly choose the solution you need. As follows:
The Karabiner also provides a custom key mapping. Through the Private.xml file, the user can easily design suitable for their own key solutions.
Several important configuration items in the Private.xml:
1.devicevendordef: Manufacturer of keyboards; VendorName: Custom name (unique); VendorID: Vendor number
2.deviceproductdef: Model of the keyboard; ProductName: Custom name (unique); VendorID: Model number
The above two items can be viewed in Karabiner->launch eventviewer->devices (provided the keyboard is already plugged in):
3.item: Configure the interface for configuration items, as follows:
Name: Description displayed on the interface
Identifier: identification
Device_only: Only devices declared here will apply our configuration, and if not, it means that all devices are generic.
Auto_gen: Key Mapping
Refer to Private.xml as follows:
<?XML version= "1.0"?><Root> <Devicevendordef> <VendorName>Topre_corporation</VendorName> <VendorID>0x0853</VendorID> </Devicevendordef> <Deviceproductdef> <ProductName>Realforce_87</ProductName> <ProductID>0x0111</ProductID> </Deviceproductdef> <Item> <name>Change RF to Mac layout</name> <identifier>Rf_mac</identifier> <device_only>Devicevendor::topre_corporation, deviceproduct::realforce_87</device_only> <Autogen>__keytokey__ keycode::command_l, keycode::option_l</Autogen> <Autogen>__keytokey__ keycode::option_l, keycode::command_l</Autogen> <Autogen>__keytokey__ Keycode::option_r, Keycode::command_r</Autogen> <Autogen>__keytokey__ Keycode::command_r, Keycode::option_r</Autogen> <Autogen>__keytokey__ keycode::P c_application, KEYCODE::FN</Autogen> <Autogen>__keytokey__ Keycode::forward_delete, KeyCode::D elete, Modifierflag::command_r</Autogen> <Autogen>__keytokey__ keycode::f3, KeyCode::D ashboard</Autogen> <Autogen>__keytokey__ Keycode::f4, Keycode::launchpad</Autogen> </Item></Root>
Other advanced configurations can view the information provided in 4.
4. References
Https://pqrs.org/osx/karabiner/xml.html.en
Karabiner:keyboard Remapping in MacOSX