Skip to content

Instantly share code, notes, and snippets.

@hanya
Created February 3, 2019 13:54
Show Gist options
  • Save hanya/bfad7048924faf0bbac6c597305231f4 to your computer and use it in GitHub Desktop.
Save hanya/bfad7048924faf0bbac6c597305231f4 to your computer and use it in GitHub Desktop.
HHKB_JP layout for Haiku OS
name = HHKB JP
# Place in /boot/home/config/non-packaged/data/KeyboardLayouts
# Size shortcuts
default-size = 10,10
$b = 5,10
$c = 20,10
$d = 15,10
$e = l15,20,11
$f = 10,20
$g = 13,10
# Key rows
[ 0,20; d:0x01; :0x12+11; :0x6a; d:0x1e; ]
[ 0,30; d$d:0x26; :+12; d$e:0x47; ]
[ 0,40; d18,10:0x5c; :0x3c+10; :0x33; ]
[ 0,50; d20,10:0x4b; :0x4c+9; :0x6b; d:0x57; d:0x56; ]
[ 0,60; d:0x7f; 3,10:-; d:0xf3; d:0x66; d:0x5d; d:0x6c; 25,10:0x5e; d:0x6d; d:0xf2; d:0x00;
d:0x7f; 2,10:-; d:0x61; d:0x62; d:0x63; ]
# 0xf3: B_HANKAKU_ZENKAKU
# 0x6c: Muhenkan
# 0x6d: Henkan
# 0xf2: B_KATAKANA_HIRAGANA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment