当前位置:网站首页>Apple input method optimization
Apple input method optimization
2022-07-05 07:30:00 【2020 Java interview】
Apple By default ABC Or the input method of American keyboard ,alt+e,alt+t Waiting for the key will output special characters , This is easy to conflict with our other editor tool shortcuts
terms of settlement : Customize the standard keyboard :http://wordherd.com/keyboards
1. download leave the “option” keystrokes blank Standard keyboard configuration file My Layout.keylayout
2. Copy the file to ~/ The repository /Keyboard Layouts/
3. Then turn on keyboard preferences -> typewriting -> Choose other -> Choose the My Layout
4. use xcode edit ~/ The repository /Preferences/com.apple.HIToolbox.plist Remove the file ABC Related items ( because ABC Once added, it cannot be deleted , Best use xcode edit ( And, of course, to xml The way ( Not recommended )))
5. After restarting, you can see the effect
The configuration of customized keyboard is attached below : The message is My Layout.keylayout The content of
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<keyboard group="0" id="5000" name="My Layout" maxout="1">
<layouts>
<layout first="0" last="0" modifiers="48" mapSet="312" />
</layouts>
<modifierMap id="48" defaultIndex="0">
<keyMapSelect mapIndex="0">
<modifier keys="" />
</keyMapSelect>
<keyMapSelect mapIndex="1">
<modifier keys="anyShift caps?" />
</keyMapSelect>
<keyMapSelect mapIndex="2">
<modifier keys="caps" />
</keyMapSelect>
<keyMapSelect mapIndex="3">
<modifier keys="anyOption" />
</keyMapSelect>
<keyMapSelect mapIndex="4">
<modifier keys="anyShift caps? anyOption" />
</keyMapSelect>
<keyMapSelect mapIndex="5">
<modifier keys="caps anyOption" />
</keyMapSelect>
<keyMapSelect mapIndex="6">
<modifier keys="command anyShift? caps? anyOption? anyControl?" />
</keyMapSelect>
<keyMapSelect mapIndex="7">
<modifier keys="anyShift? caps? anyOption? anyControl" />
</keyMapSelect>
</modifierMap>
<keyMapSet id="312">
<keyMap index="0">
<key code="0" output="a" />
<key code="1" output="s" />
<key code="2" output="d" />
<key code="3" output="f" />
<key code="4" output="h" />
<key code="5" output="g" />
<key code="6" output="z" />
<key code="7" output="x" />
<key code="8" output="c" />
<key code="9" output="v" />
<key code="10" output="§" />
<key code="11" output="b" />
<key code="12" output="q" />
<key code="13" output="w" />
<key code="14" output="e" />
<key code="15" output="r" />
<key code="16" output="y" />
<key code="17" output="t" />
<key code="18" output="1" />
<key code="19" output="2" />
<key code="20" output="3" />
<key code="21" output="4" />
<key code="22" output="6" />
<key code="23" output="5" />
<key code="24" output="=" />
<key code="25" output="9" />
<key code="26" output="7" />
<key code="27" output="-" />
<key code="28" output="8" />
<key code="29" output="0" />
<key code="30" output="]" />
<key code="31" output="o" />
<key code="32" output="u" />
<key code="33" output="[" />
<key code="34" output="i" />
<key code="35" output="p" />
<key code="36" output="
" />
<key code="37" output="l" />
<key code="38" output="j" />
<key code="39" output="'" />
<key code="40" output="k" />
<key code="41" output=";" />
<key code="42" output="\" />
<key code="43" output="," />
<key code="44" output="/" />
<key code="45" output="n" />
<key code="46" output="m" />
<key code="47" output="." />
<key code="48" output="	" />
<key code="49" output=" " />
<key code="50" output="`" />
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-64 -->
<key code="65" output="." />
<key code="66" output="" />
<key code="67" output="*" />
<!-- gap, 68 -->
<key code="69" output="+" />
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<!-- gap, 73-74 -->
<key code="75" output="/" />
<key code="76" output="" />
<key code="77" output="" />
<key code="78" output="-" />
<!-- gap, 79-80 -->
<key code="81" output="=" />
<key code="82" output="0" />
<key code="83" output="1" />
<key code="84" output="2" />
<key code="85" output="3" />
<key code="86" output="4" />
<key code="87" output="5" />
<key code="88" output="6" />
<key code="89" output="7" />
<!-- gap, 90 -->
<key code="91" output="8" />
<key code="92" output="9" />
<!-- gap, 93-94 -->
<key code="95" output="," />
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="1">
<key code="0" output="A" />
<key code="1" output="S" />
<key code="2" output="D" />
<key code="3" output="F" />
<key code="4" output="H" />
<key code="5" output="G" />
<key code="6" output="Z" />
<key code="7" output="X" />
<key code="8" output="C" />
<key code="9" output="V" />
<key code="10" output="±" />
<key code="11" output="B" />
<key code="12" output="Q" />
<key code="13" output="W" />
<key code="14" output="E" />
<key code="15" output="R" />
<key code="16" output="Y" />
<key code="17" output="T" />
<key code="18" output="!" />
<key code="19" output="@" />
<key code="20" output="#" />
<key code="21" output="$" />
<key code="22" output="^" />
<key code="23" output="%" />
<key code="24" output="+" />
<key code="25" output="(" />
<key code="26" output="&" />
<key code="27" output="_" />
<key code="28" output="*" />
<key code="29" output=")" />
<key code="30" output="}" />
<key code="31" output="O" />
<key code="32" output="U" />
<key code="33" output="{
" />
<key code="34" output="I" />
<key code="35" output="P" />
<key code="36" output="
" />
<key code="37" output="L" />
<key code="38" output="J" />
<key code="39" output=""" />
<key code="40" output="K" />
<key code="41" output=":" />
<key code="42" output="|" />
<key code="43" output="<" />
<key code="44" output="?" />
<key code="45" output="N" />
<key code="46" output="M" />
<key code="47" output=">" />
<key code="48" output="	" />
<key code="49" output=" " />
<key code="50" output="~" />
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-64 -->
<key code="65" output="." />
<key code="66" output="*" />
<key code="67" output="*" />
<!-- gap, 68 -->
<key code="69" output="+" />
<key code="70" output="+" />
<key code="71" output="" />
<key code="72" output="=" />
<!-- gap, 73-74 -->
<key code="75" output="/" />
<key code="76" output="" />
<key code="77" output="/" />
<key code="78" output="-" />
<!-- gap, 79-80 -->
<key code="81" output="=" />
<key code="82" output="0" />
<key code="83" output="1" />
<key code="84" output="2" />
<key code="85" output="3" />
<key code="86" output="4" />
<key code="87" output="5" />
<key code="88" output="6" />
<key code="89" output="7" />
<!-- gap, 90 -->
<key code="91" output="8" />
<key code="92" output="9" />
<!-- gap, 93-94 -->
<key code="95" output="," />
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="2">
<key code="0" output="A" />
<key code="1" output="S" />
<key code="2" output="D" />
<key code="3" output="F" />
<key code="4" output="H" />
<key code="5" output="G" />
<key code="6" output="Z" />
<key code="7" output="X" />
<key code="8" output="C" />
<key code="9" output="V" />
<key code="10" output="§" />
<key code="11" output="B" />
<key code="12" output="Q" />
<key code="13" output="W" />
<key code="14" output="E" />
<key code="15" output="R" />
<key code="16" output="Y" />
<key code="17" output="T" />
<key code="18" output="1" />
<key code="19" output="2" />
<key code="20" output="3" />
<key code="21" output="4" />
<key code="22" output="6" />
<key code="23" output="5" />
<key code="24" output="=" />
<key code="25" output="9" />
<key code="26" output="7" />
<key code="27" output="-" />
<key code="28" output="8" />
<key code="29" output="0" />
<key code="30" output="]" />
<key code="31" output="O" />
<key code="32" output="U" />
<key code="33" output="[" />
<key code="34" output="I" />
<key code="35" output="P" />
<key code="36" output="
" />
<key code="37" output="L" />
<key code="38" output="J" />
<key code="39" output="'" />
<key code="40" output="K" />
<key code="41" output=";" />
<key code="42" output="\" />
<key code="43" output="," />
<key code="44" output="/" />
<key code="45" output="N" />
<key code="46" output="M" />
<key code="47" output="." />
<key code="48" output="	" />
<key code="49" output=" " />
<key code="50" output="`" />
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<key code="54" output="�" />
<key code="55" output="�" />
<key code="56" output="�" />
<key code="57" output="�" />
<key code="58" output="�" />
<key code="59" output="�" />
<key code="60" output="�" />
<key code="61" output="�" />
<key code="62" output="�" />
<key code="63" output="�" />
<key code="64" output="�" />
<key code="65" output="." />
<key code="66" output="" />
<key code="67" output="*" />
<key code="68" output="�" />
<key code="69" output="+" />
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<key code="73" output="�" />
<key code="74" output="�" />
<key code="75" output="/" />
<key code="76" output="" />
<key code="77" output="" />
<key code="78" output="-" />
<key code="79" output="�" />
<key code="80" output="�" />
<key code="81" output="=" />
<key code="82" output="0" />
<key code="83" output="1" />
<key code="84" output="2" />
<key code="85" output="3" />
<key code="86" output="4" />
<key code="87" output="5" />
<key code="88" output="6" />
<key code="89" output="7" />
<key code="90" output="�" />
<key code="91" output="8" />
<key code="92" output="9" />
<!-- gap, 93-94 -->
<key code="95" output="," />
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="3">
<!-- gap, 0-35 -->
<key code="36" output="
" />
<!-- gap, 37-47 -->
<key code="48" output="	" />
<key code="49" output=" " />
<!-- gap, 50 -->
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-65 -->
<key code="66" output="" />
<!-- gap, 67-69 -->
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<!-- gap, 73-75 -->
<key code="76" output="" />
<key code="77" output="" />
<!-- gap, 78-95 -->
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="4">
<!-- gap, 0-35 -->
<key code="36" output="
" />
<!-- gap, 37-47 -->
<key code="48" output="	" />
<key code="49" output=" " />
<!-- gap, 50 -->
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-65 -->
<key code="66" output="*" />
<!-- gap, 67-69 -->
<key code="70" output="+" />
<key code="71" output="" />
<key code="72" output="=" />
<!-- gap, 73-75 -->
<key code="76" output="" />
<key code="77" output="/" />
<!-- gap, 78-95 -->
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="5">
<!-- gap, 0-35 -->
<key code="36" output="
" />
<!-- gap, 37-47 -->
<key code="48" output="	" />
<key code="49" output=" " />
<!-- gap, 50 -->
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-65 -->
<key code="66" output="" />
<!-- gap, 67-69 -->
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<!-- gap, 73-75 -->
<key code="76" output="" />
<key code="77" output="" />
<!-- gap, 78-95 -->
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="6">
<key code="0" output="a" />
<key code="1" output="s" />
<key code="2" output="d" />
<key code="3" output="f" />
<key code="4" output="h" />
<key code="5" output="g" />
<key code="6" output="z" />
<key code="7" output="x" />
<key code="8" output="c" />
<key code="9" output="v" />
<key code="10" output="§" />
<key code="11" output="b" />
<key code="12" output="q" />
<key code="13" output="w" />
<key code="14" output="e" />
<key code="15" output="r" />
<key code="16" output="y" />
<key code="17" output="t" />
<key code="18" output="1" />
<key code="19" output="2" />
<key code="20" output="3" />
<key code="21" output="4" />
<key code="22" output="6" />
<key code="23" output="5" />
<key code="24" output="=" />
<key code="25" output="9" />
<key code="26" output="7" />
<key code="27" output="-" />
<key code="28" output="8" />
<key code="29" output="0" />
<key code="30" output="]" />
<key code="31" output="o" />
<key code="32" output="u" />
<key code="33" output="[" />
<key code="34" output="i" />
<key code="35" output="p" />
<key code="36" output="
" />
<key code="37" output="l" />
<key code="38" output="j" />
<key code="39" output="'" />
<key code="40" output="k" />
<key code="41" output=";" />
<key code="42" output="\" />
<key code="43" output="," />
<key code="44" output="/" />
<key code="45" output="n" />
<key code="46" output="m" />
<key code="47" output="." />
<key code="48" output="	" />
<key code="49" output=" " />
<key code="50" output="`" />
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-64 -->
<key code="65" output="." />
<key code="66" output="" />
<key code="67" output="*" />
<!-- gap, 68 -->
<key code="69" output="+" />
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<!-- gap, 73-74 -->
<key code="75" output="/" />
<key code="76" output="" />
<key code="77" output="" />
<key code="78" output="-" />
<!-- gap, 79-80 -->
<key code="81" output="=" />
<key code="82" output="0" />
<key code="83" output="1" />
<key code="84" output="2" />
<key code="85" output="3" />
<key code="86" output="4" />
<key code="87" output="5" />
<key code="88" output="6" />
<key code="89" output="7" />
<!-- gap, 90 -->
<key code="91" output="8" />
<key code="92" output="9" />
<!-- gap, 93-95 -->
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
<keyMap index="7">
<key code="0" output="" />
<key code="1" output="" />
<key code="2" output="" />
<key code="3" output="" />
<key code="4" output="" />
<key code="5" output="" />
<key code="6" output="" />
<key code="7" output="" />
<key code="8" output="" />
<key code="9" output="" />
<!-- gap, 10 -->
<key code="11" output="" />
<key code="12" output="" />
<key code="13" output="" />
<key code="14" output="" />
<key code="15" output="" />
<key code="16" output="" />
<key code="17" output="" />
<!-- gap, 18 -->
<key code="19" output="�" />
<!-- gap, 20-21 -->
<key code="22" output="" />
<!-- gap, 23-26 -->
<key code="27" output="" />
<!-- gap, 28-29 -->
<key code="30" output="" />
<key code="31" output="" />
<key code="32" output="" />
<key code="33" output="" />
<key code="34" output="	" />
<key code="35" output="" />
<key code="36" output="
" />
<key code="37" output="" />
<key code="38" output="
" />
<!-- gap, 39 -->
<key code="40" output="" />
<!-- gap, 41 -->
<key code="42" output="" />
<!-- gap, 43-44 -->
<key code="45" output="" />
<key code="46" output="
" />
<!-- gap, 47 -->
<key code="48" output="	" />
<key code="49" output="�" />
<!-- gap, 50 -->
<key code="51" output="" />
<key code="52" output="" />
<key code="53" output="" />
<!-- gap, 54-65 -->
<key code="66" output="" />
<!-- gap, 67-69 -->
<key code="70" output="" />
<key code="71" output="" />
<key code="72" output="" />
<!-- gap, 73-75 -->
<key code="76" output="" />
<key code="77" output="" />
<!-- gap, 78-95 -->
<key code="96" output="" />
<key code="97" output="" />
<key code="98" output="" />
<key code="99" output="" />
<key code="100" output="" />
<key code="101" output="" />
<key code="102" output=" " />
<key code="103" output="" />
<key code="104" output=" " />
<key code="105" output="" />
<key code="106" output="" />
<key code="107" output="" />
<key code="108" output="" />
<key code="109" output="" />
<key code="110" output="" />
<key code="111" output="" />
<key code="112" output="" />
<key code="113" output="" />
<key code="114" output="" />
<key code="115" output="" />
<key code="116" output="" />
<key code="117" output="" />
<key code="118" output="" />
<key code="119" output="" />
<key code="120" output="" />
<key code="121" output="" />
<key code="122" output="" />
<key code="123" output="" />
<key code="124" output="" />
<key code="125" output="" />
<key code="126" output="" />
</keyMap>
</keyMapSet>
</keyboard>
边栏推荐
- GPIO port bit based on Cortex-M3 and M4 with operation macro definition (can be used for bus input and output, STM32, aducm4050, etc.)
- The problem of configuring opencv in qt5.13.2 is solved in detail
- [vscode] recommended plug-ins
- What is sodium hydroxide?
- golang定时器使用踩的坑:定时器每天执行一次
- HDU1231 最大连续子序列(分治or动规or双指针)
- 【Node】nvm 版本管理工具
- Detailed explanation of miracast Technology (I): Wi Fi display
- PostMessage communication
- Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
猜你喜欢
Negative number storage and type conversion in programs
What is deep learning?
Graduation thesis project local deployment practice
DelayQueue延迟队列的使用和场景
Thunderbird tutorial \ easy to use mail client
Idea common settings
Differences between pycharm and idle and process -- join() in vs Code
CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
PostMessage communication
Target detection series - detailed explanation of the principle of fast r-cnn
随机推荐
Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
What does soda ash do?
Idea common settings
Detailed explanation of miracast Technology (I): Wi Fi display
R language learning notes 1
Basic series of SHEL script (II) syntax + operation + judgment
Thunderbird tutorial \ easy to use mail client
Ue5 hot update - remote server automatic download and version detection (simplehotupdate)
Detour of Tkinter picture scaling
Negative number storage and type conversion in programs
Batch convert txt to excel format
Eclipse project recompile, clear cache
Qu'est - ce que l'hydroxyde de sodium?
I 用c I 实现队列
What is sodium hydroxide?
golang定时器使用踩的坑:定时器每天执行一次
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
And play the little chestnut of dynamic agent
selenium 元素定位