$ plutil -p ~/Downloads/org.jpn.lacaille.Lacaille.plist
:
{
"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>
}
...
plistlib --- Mac OS X .plist file generation and parsing - Python 3.8.1 documentation :
{'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'},
c
- 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=@”_”
- see keycode
I was able to decipher the format, so it looks like I can spit out Lacaille data directly from keylayout.
This page is auto-translated from /nishio/Lacailleのplistを解読 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.