---
slug: "JISキーボードのmacで、USキーボード気分を味わう "
title: "Experiencing the US Keyboard Layout on a Mac with a JIS Keyboard"
description: "Get a US-layout-like typing experience on a Japanese (JIS) Mac keyboard — sample KeyRemap4MacBook / Karabiner configs for symbol layout and kana/eisuu remaps."
url: "https://www.ytyng.com/en/blog/JISキーボードのmacで、USキーボード気分を味わう "
publish_date: "2015-09-02T12:56:53Z"
created: "2015-09-02T12:56:53Z"
updated: "2026-05-11T13:07:51.002Z"
categories: ["mac"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/ffc6a5fd3e884dceb21110161ca06758.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Experiencing the US Keyboard Layout on a Mac with a JIS Keyboard

<div class="document">

<p>When using a Mac with a JIS keyboard that I bought a long time ago, I can't help but notice the US keyboard enthusiasts around me. They often say, "For development, it's got to be a US keyboard!" Even when I try to explain, "Well, the Kana key and the Control key placement are better," I still feel a bit hurt inside. I'm sure you've experienced something similar.</p>
<p>Here's a simple way to try a US-style layout with a JIS keyboard.</p>
<p>Thanks to an amazing app called Karabiner (formerly known as KeyRemap4MacBook), it's easy to experiment.</p>
<ol class="arabic simple">
<li>Download and install Karabiner from <a class="reference external" href="https://pqrs.org/osx/karabiner/index">https://pqrs.org/osx/karabiner/index</a>.</li>
<li>Launch it from the Applications directory. Follow the instructions to allow "Karabiner_AXNotifier.app" in "System Preferences" → "Accessibility".</li>
<li>In the Karabiner window, search for "japanese as us".</li>
</ol>
<p>Check the option "Use Japanese Keyboard as US Keyboard".</p>
<p>That's it. You're done. From the moment you check it, the key layout will change to a US style. The backquote key is mapped to the ¥ key position.</p>
<img alt="http://ytyng.com/picture/mac/karabiner/karabiner1.png" src="http://ytyng.com/picture/mac/karabiner/karabiner1.png"/>
<p>Additionally, there's a similar mode called Semi-US Keyboard mode, where only the semicolon, colon, and quote keys are in the US style. Once you get used to it, it makes coding easier.</p>
<div class="section" id="id1">
<h3>Enable one-touch underscore input with the "ro" key</h3>
<p>The JIS keyboard has more keys than the US keyboard, so with "Use Japanese Keyboard as US Keyboard," there are some redundant keys.</p>
<p>The ¥ key and the underscore key on the JIS keyboard are both mapped to the backquote key, which feels a bit wasteful.</p>
<p>Although you can input an underscore by pressing "Shift" + "-", since there's a dedicated underscore key, and it's used frequently, let's set it up so that pressing that key inputs an underscore directly.</p>
<p>Click on Open private.xml in Karabiner and edit the private.xml file like this:</p>
<pre class="literal-block">&lt;?xml version="1.0"?&gt;
&lt;root&gt;
  &lt;item&gt;
    &lt;name&gt;Use Japanese Keyboard as US Keyboard (without Underscore)&lt;/name&gt;
    &lt;identifier&gt;remap.private_jis_jansi_without_underscore&lt;/identifier&gt;
    &lt;autogen&gt;__SetKeyboardType__ KeyboardType::MACBOOK&lt;/autogen&gt;
    &lt;autogen&gt;__KeyToKey__ KeyCode::JIS_YEN, KeyCode::BACKQUOTE&lt;/autogen&gt;
    &lt;autogen&gt;__KeyToKey__ KeyCode::JIS_UNDERSCORE, KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT&lt;/autogen&gt;
  &lt;/item&gt;
&lt;/root&gt;
</pre>
<p>The preset "Use Japanese Keyboard as US Keyboard" is written in Resources/include/checkbox/languages/japanese/keyboard_layouts.xml. By referring to that, we’re modifying it so that pressing the underscore key switches to "Shift" + "-".</p>
<p>After saving the private.xml, click the Reload XML button in the Change Key tab in Karabiner.</p>
<p>Then, the newly saved "Use Japanese Keyboard as US Keyboard (without Underscore)" will appear at the top. Check the checkbox to apply it.</p>
</div>
</div>
