You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
5.6 KiB

  1. # edvorakjp
  2. epaew's Enhanced Dvorak layout for Japanese Programmer
  3. ## Layout overview
  4. This is a sample. You can swap any symbol keys and modifier keys.
  5. - Base layer (for ansi layout)
  6. ```
  7. //+----+----+----+----+----+----+----+----+----+----+----+----+----+---------+
  8. ` , ! , @ , # , $ , % , ^ , & , * , ( , ) , [ , ] , BSPC ,
  9. //+----+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-------+
  10. TAB , ' , , , . , P , Y , F , G , R , W , Q , / , = , \ ,
  11. //+------++---++---++---++---++---++---++---++---++---++---++---++---+-------+
  12. CAPS , A , O , E , I , U , D , T , N , S , M , - , ENT ,
  13. //+-------+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-----------+
  14. LSFT , ; , X , C , V , Z , B , H , J , K , L , RSFT ,
  15. //+------+--+---++----++---+----+----+----+----+-+--+---++----++------+------+
  16. LCTL , LGUI , LALT , SPACE , RALT , RGUI , MENU , RCTL
  17. //+------+------+------+-------------------------+------+------+------+------+
  18. ```
  19. - Base layer (for iso layout)
  20. - Two C keys are placed, it's on purpose.
  21. ```
  22. //+----+----+----+----+----+----+----+----+----+----+----+----+----+---------+
  23. ` , ! , @ , # , $ , % , ^ , & , * , ( , ) , [ , ] , BSPC ,
  24. //+----+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-------+
  25. TAB , ' , , , . , P , Y , F , G , R , W , C , / , = ,
  26. //+------++---++---++---++---++---++---++---++---++---++---++---++---++
  27. CAPS , A , O , E , I , U , D , T , N , S , M , ; , - , ENT ,
  28. //+-------+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+------+
  29. LSFT , Q , X , C , V , Z , B , H , J , K , L , \ , RSFT ,
  30. //+------+--+---++----++---+----+----+----+----+-+--+---++----++---+--+------+
  31. LCTL , LGUI , LALT , SPACE , RALT , RGUI , MENU , RCTL
  32. //+------+------+------+-------------------------+------+------+------+------+
  33. ```
  34. - Additional layer (common, blanks are transparent)
  35. ```
  36. //+----+----+----+----+----+----+----+----+----+----+----+----+----+---------+
  37. , , , , , , , , , , , , , ,
  38. //+----+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-------+
  39. , AI , OU , EI , , , , , , , , , , ,
  40. //+------++---++---++---++---++---++---++---++---++---++---++---++---+-------+
  41. , A , O , E , I , U , , Y1 , N , Y2 , , , ,
  42. //+-------+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-----------+
  43. ,ANN ,ONN ,ENN ,INN ,UNN , , , , , , ,
  44. //+------+--+---++----++---+----+----+----+----+-+--+---++----++------+------+
  45. , , , , , , ,
  46. //+------+------+------+-------------------------+------+------+------+------+
  47. ```
  48. And you can see [my iris keyboard layout](../../keyboards/iris/keymaps/edvorakjp/keymap.c) for sample implementation, too.
  49. ## for Japanese
  50. - 日本語入力用のキーを追加
  51. - IME 切り替えキー
  52. - 長押しでレイヤー切り替え、短押しでIME切り替え
  53. - macOS(かな/英数)、Windows(Alt+\`)の両方に対応
  54. - DvorakJP(<http://www7.plala.or.jp/dvorakjp/>)を参考にした日本語入力用キーの導入
  55. - 拗音入力用のYキーを追加配置
  56. - 二重母音入力用のキー(AI, OU, EI)
  57. - 撥音入力用のキー(ANN, ONN, ENN, INN, UNN)
  58. - いずれかの子音を押下することで Additional layer が出現し、いずれかの母音を押下することで Base layer に戻ります(※1※2)
  59. - ※1促音の入力に使うため、また連続で同じ指での打鍵を減らすために、
  60. FGRDTNBHJ を押下した場合はy1が、それ以外の子音を押下した場合はy2が出現しません
  61. - ※2撥音の入力のため、nを2連打すると、Base layerに戻ります
  62. - Define some custom keys for typing Japanese
  63. - IME switching
  64. - act as LOWER/RAISE when hold, act as IME switching when tapped
  65. - for macOS(かな/英数), for Windows(Alt+\`)
  66. - oneshot combination keys, inspired from DvorakJP (<http://www7.plala.or.jp/dvorakjp/>)
  67. - additional Y key to enter a contracted sound
  68. - diphthong keys (AI, OU, EI)
  69. - syllabic nasal (ANN, ONN, ENN, INN, UNN)
  70. - Additional layer is appeared when you taps any consonant keys, and disappeared when you taps any diphthong keys.
  71. ## for Programmer
  72. - Dvorak 配列をベースに、ショートカットでよく利用される XCV は QWERTY 配列の位置を維持
  73. - Vimユーザのために、HJKL キーを横並びで配置
  74. - デフォルトレイヤーには、数字キーの代わりに記号 `!@#$%^&*()` を配置
  75. - mainly based on Dvorak layout, but XCV is available in the same position of QWERTY layout
  76. - HJKL is lining side by side, for Vim users
  77. - we can type `!@#$%^&*()` keys without shift keys in base layer
  78. ## License
  79. Copyright 2018 Ryo Maeda epaew.333@gmail.com @epaew
  80. This program is free software: you can redistribute it and/or modify
  81. it under the terms of the GNU General Public License as published by
  82. the Free Software Foundation, either version 2 of the License, or
  83. (at your option) any later version.
  84. This program is distributed in the hope that it will be useful,
  85. but WITHOUT ANY WARRANTY; without even the implied warranty of
  86. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  87. GNU General Public License for more details.
  88. You should have received a copy of the GNU General Public License
  89. along with this program. If not, see <http://www.gnu.org/licenses/>.