{"id":6869,"date":"2011-10-25T23:14:04","date_gmt":"2011-10-25T21:14:04","guid":{"rendered":"http:\/\/www.chipwreck.de\/blog\/?p=6869"},"modified":"2016-12-31T02:27:19","modified_gmt":"2016-12-31T01:27:19","slug":"razer-blackwidow-keyboard-with-mac-os-x","status":"publish","type":"post","link":"https:\/\/www.chipwreck.de\/blog\/2011\/10\/25\/razer-blackwidow-keyboard-with-mac-os-x\/","title":{"rendered":"Razer BlackWidow keyboard with Mac OS X"},"content":{"rendered":"<h3>Use Razer BlackWidow (PC Edition) on a Mac<\/h3>\n<p><em>This is probably useful only to a few people &#8211; but if you are one of the mac users who bought a Razer BlackWidow keyboard (PC), this should be helpful. &#8220;BlackWidow&#8221; is a mechanical keyboard for a reasonable price, <a class=\"external\" href=\"http:\/\/www.razerzone.com\/minisite\/blackwidow\/mechanical_keyboards\">lightyears <\/a> better than the default apple keyboard. It&#8217;s called a &#8220;gaming keyboard&#8221;, so after unpacking you&#8217;re official member of the &#8220;Cult of Razer&#8221; .. well, then<!--more-->.<\/em><\/p>\n<h4>PC vs. Mac edition confusion<\/h4>\n<p>The BlackWidow keyboard has a PC layout (which I&#8217;ll call &#8220;PC edition&#8221;). There is also a &#8220;Mac edition&#8221; &#8211; but it wasn&#8217;t available in Germany and costs about 50\u20ac more than the standard edition, just for having USB ports and illuminated keys.<\/p>\n<p>That&#8217;s where things get confusing aka annoying:<\/p>\n<ul>\n<li>There are OS X drivers from Razer, but only for the &#8220;Mac edition&#8221;<\/li>\n<li>According to the FAQ they absolutely don&#8217;t work with the &#8220;PC edition&#8221;<\/li>\n<li>But: The OS X drivers work flawlessly with the &#8220;PC edition&#8221;<\/li>\n<li>The firmware updater is only available as Windows software<\/li>\n<\/ul>\n<h4>Layout<\/h4>\n<p>This is a standard PC keyboard layout, so..<\/p>\n<ul>\n<li>Instead of option (alt) keys a &#8220;windows key&#8221; on the left and the &#8220;application key&#8221; on the right.<\/li>\n<li>To the right of the 12 function keys (F1-12) there are the typical 80s IBM keys: &#8220;Print&#8221;, &#8220;Scroll Lock&#8221; and &#8220;Pause\/Break&#8221;<\/li>\n<li>Additionally there are 5 Macro keys (M1-M5) to the left and an FN-key at the bottom to modify volume, record macros &#8211; and<\/li>\n<\/ul>\n<h4>Setup in OS X<\/h4>\n<p>If you install the keyboard the first time, OS X asks you to press one key in order to identify the keyboard (For a German layout that&#8217;s the &#8220;&lt;&#8220;-key) &#8211; now you can use the standard functions.<\/p>\n<p>The next step is to open Keyboard settings in the control panel, click &#8220;modifier keys&#8221; and swap option and command key. I also disable Caps Lock here. Now you have control, alt and command keys like a mac keyboard &#8211; except the right &#8220;application key&#8221; doesn&#8217;t work.. We&#8217;ll fix this later.<\/p>\n<p><a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Remap-modifiers.png\"><img loading=\"lazy\" decoding=\"async\" title=\"Remap modifier keys\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Remap-modifiers-300x191.png\" alt=\"Remap modifier keys\" width=\"300\" height=\"191\" \/><\/a><\/p>\n<h4>Mapping &#8220;application key&#8221; to option<\/h4>\n<p>To fix the &#8220;application key&#8221; we have to do a little bit more. The best (and free) tool is: &#8220;KeyRemap4Macbook&#8221; (works with all Macs, the name is a bit misleading). <a href=\"http:\/\/pqrs.org\/macosx\/keyremap4macbook\/\" target=\"_blank\">Download here<\/a> and install.<\/p>\n<p>Now open the KeyRemap control panel, click on &#8220;Misc &amp; Uninstall&#8221; and click &#8220;Open private.xml&#8221;. Now double-click the file &#8220;private.xml&#8221; and replace its contents with the xml below, save it and go back to the KeyRemap panel.<\/p>\n<pre>\r\n&lt;?xml version=\"1.0\"?&gt;\r\n&lt;root&gt;\r\n  &lt;list&gt;\r\n    &lt;item&gt;\r\n      &lt;name&gt;Razer Win_Key to Alt_R&lt;\/name&gt;\r\n      &lt;identifier&gt;private.razer.winalt&lt;\/identifier&gt;\r\n      &lt;autogen&gt;--KeyToKey-- KeyCode::PC_APPLICATION, KeyCode::OPTION_R&lt;\/autogen&gt;\r\n    &lt;\/item&gt;\r\n&lt;\/list&gt;\r\n&lt;\/root&gt;\r\n<\/pre>\n<p>Then choose &#8220;Change Key&#8221;, click &#8220;Reload XML&#8221; and if you copied the XML correctly you see a new entry &#8220;Razer Win_key to Alt_R&#8221;.<\/p>\n<p><a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/KeyRemap-after-loading-custom-XML.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6874\" title=\"KeyRemap after loading custom XML\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/KeyRemap-after-loading-custom-XML-300x111.png\" alt=\"KeyRemap after loading custom XML\" width=\"300\" height=\"111\" srcset=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/KeyRemap-after-loading-custom-XML-300x111.png 300w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/KeyRemap-after-loading-custom-XML-120x44.png 120w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/KeyRemap-after-loading-custom-XML.png 619w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>As soon as you enable it, the &#8220;application key&#8221; now finally works as option key..<\/p>\n<h4>Special keys<\/h4>\n<ul>\n<li><strong>Volume and media keys<\/strong> work like labelled on the keys: FN + F1 toggles Mute, etc. If these don&#8217;t work, see below for a solution<\/li>\n<li>To access the <strong>shutdown menu<\/strong> (usually Control + Eject), you can use FN + F15 (&#8220;Sleep mode&#8221;), this works nicely.<\/li>\n<li>The <strong><q>Gaming Mode<\/q><\/strong> switch which disables the Windows and Application keys is of course completely useless on the mac.,<\/li>\n<\/ul>\n<h4>Razer drivers?<\/h4>\n<p>Now you could install the <a href=\"http:\/\/www.razersupport.com\/index.php?_m=downloads&amp;_a=view&amp;parentcategoryid=191&amp;pcid=77&amp;nav=0,77\" target=\"_blank\">Mac drivers from razerzone.com<\/a> &#8211; even if their FAQ states they don&#8217;t work. You get an application for remapping keys, creating macros and profiles. This works quite good.<\/p>\n<p>But&#8230;<\/p>\n<p>If you DON&#8217;T install the razer drivers, the function keys work perfectly &#8211; but the five macro keys are without function. The media keys (volume etc.) also don&#8217;t work out of the box, but this can be fixed with KeyRemap (see below). Even &#8220;macro recording on the fly&#8221; doesn&#8217;t work &#8211; for whatever reasons the driver needs to be installed..<\/p>\n<p>If you DO install the razer drivers, you can use the macro recording function and the media keys (volume, track fwd. etc). But the disadvantage is that the function keys don&#8217;t work correctly&#8230; Until now it wasn&#8217;t possible for me to access F5, F6 and F7.<\/p>\n<p><em>The driver can be uninstalled without problems, so you can try it out. And maybe, one day, Razer will support the &#8220;PC&#8221; keyboard at a Mac, who knows&#8230;<\/em><\/p>\n<h4>If you installed the Razer drivers:\u00a0Macro &amp; Function keys<\/h4>\n<p>The &#8220;Print&#8221;, &#8220;Scroll lock&#8221;..keys work as function keys (F13 &#8211; F15), so ignore the labels and you&#8217;ve got <del>15<\/del>\u00a0some function keys, which can be mapped to Expose, Spaces etc. as you like. Until now I didn&#8217;t get all function keys to work.<\/p>\n<p>But the M1-M5 macro keys also work as function keys (F13 &#8211; F17) &#8211; argh! To fix: Just assign a macro to each of the five keys (either via on-the-fly macro creation or with the Razer software) &#8211; and the macro keys work as they should.<\/p>\n<p>BTW: The layout shown in the Razer app isn&#8217;t correct (of course, that would be too easy): F18 and F19 do not exist..<\/p>\n<p><a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6886\" title=\"Razer configuration utility\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33-300x216.png\" alt=\"Razer configuration utility, ignore F18 and F19..\" width=\"300\" height=\"216\" srcset=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33-300x216.png 300w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33-120x86.png 120w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33.png 894w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h4>No Razer driver installed: Enabling media keys<\/h4>\n<p>With KeyRemap4Macbook it&#8217;s no problem to enable the media keys (FN+F1 Mute, FN+F2 Volume down etc.). This is only necessary if you didn&#8217;t install the Razer driver. Therefore you have to open the private.xml file like above and replace its contents with this XML:<\/p>\n<pre>\r\n&lt;?xml version=\"1.0\"?&gt;\r\n&lt;root&gt;\r\n  &lt;list&gt;\r\n    &lt;item&gt;\r\n      &lt;name&gt;Razer Win_Key to Alt_R&lt;\/name&gt;\r\n      &lt;identifier&gt;private.razer.winalt&lt;\/identifier&gt;\r\n      &lt;autogen&gt;--KeyToKey-- KeyCode::PC_APPLICATION, KeyCode::OPTION_R&lt;\/autogen&gt;\r\n    &lt;\/item&gt;\r\n    &lt;item&gt;\r\n      &lt;name&gt;Razer Fix Media Keys&lt;\/name&gt;\r\n      &lt;identifier&gt;private.razer.fixmedia&lt;\/identifier&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F1, ModifierFlag::FN, ConsumerKeyCode::VOLUME_MUTE&lt;\/autogen&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F2, ModifierFlag::FN, ConsumerKeyCode::VOLUME_DOWN&lt;\/autogen&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F3, ModifierFlag::FN, ConsumerKeyCode::VOLUME_UP&lt;\/autogen&gt;\r\n\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F5, ModifierFlag::FN, ConsumerKeyCode::MUSIC_PLAY&lt;\/autogen&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F6, ModifierFlag::FN, ConsumerKeyCode::MUSIC_PLAY&lt;\/autogen&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F7, ModifierFlag::FN, ConsumerKeyCode::MUSIC_PREV&lt;\/autogen&gt;\r\n      &lt;autogen&gt;--KeyToConsumer-- KeyCode::F8, ModifierFlag::FN, ConsumerKeyCode::MUSIC_NEXT&lt;\/autogen&gt;\r\n    &lt;\/item&gt;\r\n  &lt;\/list&gt;\r\n&lt;\/root&gt;\r\n<\/pre>\n<h4>That&#8217;s it for now<\/h4>\n<p>For using this keyboard in OS X this means either<\/p>\n<p>&#8230; use it without drivers (Macros: NO, Special keys: MOST, Function keys: YES)<br \/>\n&#8230; or use it with the <q>incompatible<\/q> Mac drivers (Macros: YES, Special keys: YES, Function keys: ONLY SOME)<\/p>\n<p>As soon as Razer improves its Mac support I&#8217;ll update this post (or if there are workarounds for the missing function).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Razer BlackWidow (PC Edition) on a Mac This is probably useful only to a few people &#8211; but if you are one of the mac users who bought a Razer BlackWidow keyboard (PC), this should be helpful. &#8220;BlackWidow&#8221; is a mechanical keyboard for a reasonable price, lightyears better than the default apple keyboard. It&#8217;s &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.chipwreck.de\/blog\/2011\/10\/25\/razer-blackwidow-keyboard-with-mac-os-x\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Razer BlackWidow keyboard with Mac OS X&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":6886,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4],"tags":[72,78,71],"class_list":["post-6869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-osx","tag-keyboard","tag-osx","tag-razer"],"jetpack_shortlink":"https:\/\/wp.me\/paPEN-1MN","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/10\/Bildschirmfoto-2011-10-25-um-23.28.33.png","_links":{"self":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/6869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/comments?post=6869"}],"version-history":[{"count":0,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/6869\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/media\/6886"}],"wp:attachment":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/media?parent=6869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/categories?post=6869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/tags?post=6869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}