Lacailleのplistを解読
$ plutil -p ~/Downloads/org.jpn.lacaille.Lacaille.plist
code::
{
"bsemu" => 0
"enabled" => 1
"escemu" => 0
"firstIgnoredSingleThumbL" => 1
"layout" => [
0 => {
"ASCII - No shift" => <00ffff>
"ASCII - With outer shift" => <3800ff>
"No shift" => <20ffff>
"With left shift" => <0d1fff>
"With modifier key" => <00ffff>
"With outer shift" => <3800ff>
"With right shift" => <0920ff>
}
...
code::
{'NSStatusItem Preferred Position Item-0': 450.0,
'layout': [{'With outer shift': b'8\x00\xff',
'With right shift': b'\t \xff',
'No shift': b' \xff\xff',
'ASCII - With outer shift': b'8\x00\xff',
'ASCII - No shift': b'\x00\xff\xff',
'With left shift': b'\r\x1f\xff',
'With modifier key': b'\x00\xff\xff'},
code:c
static NSString* keymap0x80 = { @"a", @"s", @"d", @"f", @"h", @"g", @"z", @"x",
@"c", @"v", @"Section", @"b", @"q", @"w", @"e", @"r", @"y", @"t", @"1", @"2", @"3", @"4", @"6", @"5",
@"^"/* = */, @"9", @"7", @"-", @"8", @"0", @""/* */, @"o", @"u", @"@"/* [ */, @"i", @"p", @"↩", @"l", @"j", @":"/* ' */,
@"k", @";", @"]"/* \ */, @",", @"/", @"n", @"m", @".",
@"⇥", @"␣", @"`", @"⌫", @"⌤"/* no def */, @"⎋", @"R⌘", @"⌘", @"⇧", @"⇪", @"⌥", @"⌃", @"R⇧", @"R⌥", @"R⌃", @"fn", @"F17", @"K.", @"<42>", @"K*", @"<44>", @"K+", @"<46>", @"⌧"/* Keypad */, @"<70>", @"F15", @"Help", @"↖", @"⇞", @"⌦", @"F4", @"↘", @"F2", @"⇟", @"F1", @"←", @"→", @"↓", @"↑", @"<7f>", };
layout:0 = keycode:0 = keymap "a"
"No shift" => <20ffff>
0x20 = 32 = keymap "u"
"With right shift" => <0920ff>: vu
"With left shift" => <0d1fff>: wo
layout:48=@"¥"
layout:49=@"_"