<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d4684235500622716427\x26blogName\x3dCaiwangqin\x27s+blog\x26publishMode\x3dPUBLISH_MODE_HOSTED\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blog.caiwangqin.com/search\x26blogLocale\x3dzh_CN\x26v\x3d2\x26homepageUrl\x3dhttp://blog.caiwangqin.com/\x26vt\x3d3393395200455623441', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Caiwangqin's blog

Focus on Life, Cloud Service, Smart Hardware, Architecture, Technic and beyond…

Save Topre REALFORCE 87 keyboard and HUMAN ERGONOMICS ev mouse on Mac OSX

2016年4月15日星期五

There are some keys and buttons behavior for PC-only keyboard and mice on Mac that don't emit USB-standard key events, so we need a powerful tool to make them work.

1, Download Karabiner: https://pqrs.org/osx/karabiner/
2, Install, Launch and give it permission in "System Preferences > Security"
3, In the app click "Open private.xml" under the "Misc & Uninstall" tab
4, Create device-specific re-mappings to do whatever you want! (Documentation on editing the XML: https://pqrs.org/osx/karabiner/xml.html.en)

Here's my private.xml file:



posted by Caiwangqin, 00:49 | Permalink | 0 comments |