• Gary Kacmarcik's avatar
    KeyboardMap - Fix Japanese layout · 9987bfb7
    Gary Kacmarcik authored
    Previously, the Japanese layout was not returned as the highest-prio
    ASCII-capable layout because not all of the writing-system-keys produced
    printable characters.  Specifically, the Backquote key is used as the
    hankaku/zenkaku key to switch between half-width and full-width chars.
    
    This cl fixes that by handling the Japanese/Backquote key as a special
    case, and the keyboard map returns a descriptive string.
    
    Bug: 891501
    Change-Id: Ic473700866d711a532d3946be73ff5ec38db580a
    Reviewed-on: https://chromium-review.googlesource.com/c/1340970
    Commit-Queue: Gary Kacmarcik <garykac@chromium.org>
    Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609042}
    9987bfb7
dom_keyboard_layout.h 2.26 KB