Skip to content

Instantly share code, notes, and snippets.

@hanya
Created February 3, 2019 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanya/d476bf7b6e2fe433c3c0290ec3abbd45 to your computer and use it in GitHub Desktop.
Save hanya/d476bf7b6e2fe433c3c0290ec3abbd45 to your computer and use it in GitHub Desktop.
HHKB layout for Haiku OS
name = HHKB
# Place in /boot/home/config/non-packaged/data/KeyboardLayouts
# Size shortcuts
default-size = 10,10
$b = 5,10
$c = 18,10
$d = 15,10
$enter = d22,10
$f = 10,20
$g = 13,10
# Key rows
[ 0,20; :0x01; :0x12+11; :0x33; :0x11; ]
[ 0,30; d$d:0x26; :+12; $d:0x34; ]
[ 0,40; d$c:0x5c; :0x3c+10; $enter:+1; ]
[ 0,50; d23,10:0x4b; :+10; d17,10:+1; d:0x7f; ]
[ 0,60; 15,10:-; d:0x5d; d$d:0x7f; 62,10:+1; d$d:0x7f;
d:0x5f; ]
#$b:-; d:+3; $b:-; $c:+1; :+1 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment