Use Karabiner to solve the problem that some software keypad on Mac can't be used

Source: Internet
Author: User

Most of the software on the MAC external USB keyboard support is good, but there are some software is lazy, such as I recently encountered a software is not support keypad input numbers, and with the big keyboard number keys is no problem, it is wonderful.

Wonderful work, the problem is still to be solved. A little research on this problem, found that you can use the Karabiner software to map the keyboard. For my needs, it is to map the number keys on the keypad to the number keys on the large keyboard. The implementation is not very difficult, first I modified the Private.xml file content:

<?xml version= "1.0"? ><root>  <item>    <name>change  KeyPad 0 to Num 0</name>    <identifier> private.change_keypad0_to_num0</identifier>    <autogen>__keytokey__  keycode::keypad_0, keycode::key_0</autogen>  </item>    < Item>    <name>change keypad 1 to num 1</name>     <identifier>private.change_keypad1_to_num1</identifier>     <autogen>__keytokey__ keycode::keypad_1, keycode::key_1</autogen>  </ Item>    <item>    <name>change keypad 2  to num 2</name>    <identifier>private.change_keypad2_to_num2 </identifier>    <autogen>__keytokey__ keycode::keypad_2, keycode::key_2</autogen>  </ Item>    <item>    <name>change keypad 3  to num 3</name>    <identifier>private.change_keypad3_to_num3 </identifier>    <autogen>__keytokey__ keycode::keypad_3, keycode:: key_3</autogen>  </item>    <item>    < Name>change keypad 4 to num 4</name>    <identifier >private.change_keypad4_to_num4</identifier>    <autogen>__KeyToKey__  keycode::keypad_4, keycode::key_4</autogen>  </item>    < Item>    <name>change keypad 5 to num 5</name>     <identifier>private.change_keypad5_to_num5</identifier>    <autogen>__ keytokey__ keycode::keypad_5, keycode::key_5</autogen>  </item>     <item>    <name>change keypad 6 to num 6 </name>    <identifier>private.change_keypad6_to_num6</identifier>     <autogen>__KeyToKey__ KeyCode::KEYPAD_6, KeyCode::KEY_6</autogen>   </item>    <item>    <name>Change  Keypad 7 to num 7</name>    <identifier>private.change_ Keypad7_to_num7</identifier>    <autogen>__keytokey__ keycode::keypad_7,  KeyCode::KEY_7</autogen>  </item>    <item>     <name>change&nBsp Keypad 8 to num 8</name>    <identifier>private.change_ Keypad8_to_num8</identifier>    <autogen>__keytokey__ keycode::keypad_8,  KeyCode::KEY_8</autogen>  </item>    <item>     <name>Change KeyPad 9 to Num 9</name>     <identifier>private.change_keypad9_to_num9</identifier>    <autogen>__ keytokey__ keycode::keypad_9, keycode::key_9</autogen>  </item>     <item>    <name>change keypad enter to return </name>    <identifier>private.change_keypadEnter_to_return</identifier>     <autogen>__KeyToKey__ KeyCode::ENTER, KeyCode::RETURN</autogen>   </iTem></root> 


The following two pages are referenced in the modification of the XML file:

How to add your own settings:https://pqrs.org/osx/karabiner/document.html.en#privatexml
Private.xml Reference Manual: Https://pqrs.org/osx/karabiner/xml.html.en

How do I find the key values for each key?

This can be solved by the "Launch eventviewer" tool on the Karabiner menu, where you will see the key values for each key you press.


Karabiner is open source software developed by the Japanese, or is quite powerful, itself with many mapping functions. If you want, you can map any key on the keyboard.

Software Home: Https://pqrs.org/osx/karabiner/index.html.en

GitHub Home: Https://github.com/tekezo/Karabiner


Use Karabiner to solve the problem that some software keypad on Mac can't be used

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.