Skip to content

Instantly share code, notes, and snippets.

@e-jigsaw
Created January 27, 2016 06:48
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 e-jigsaw/4ffd2a81623f9deab392 to your computer and use it in GitHub Desktop.
Save e-jigsaw/4ffd2a81623f9deab392 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>APPLE</vendorname>
<vendorid>0x05ac</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>INTERNAL</productname>
<productid>0x0273</productid>
</deviceproductdef>
<item>
<name>Shift IME on/off</name>
<identifier>remap.jis_shift2eisuukana_prefer_command</identifier>
<autogen>__KeyOverlaidModifier__ KeyCode::SHIFT_L, KeyCode::SHIFT_L, KeyCode::JIS_EISUU</autogen>
<autogen>__KeyOverlaidModifier__ KeyCode::SHIFT_R, KeyCode::SHIFT_R, KeyCode::JIS_KANA</autogen>
</item>
<item>
<name>Backquote to Escape in Apple Keyboard only</name>
<identifier>remap.backquote_to_esc_apple</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::INTERNAL</device_only>
<autogen>
__KeyToKey__
KeyCode::BACKQUOTE,
KeyCode::ESCAPE
</autogen>
</item>
<item>
<name>Backslash to Delete in Apple Keyboard only</name>
<identifier>remap.backslash_to_delete_apple</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::INTERNAL</device_only>
<autogen>
__KeyToKey__
KeyCode::BACKSLASH,
KeyCode::DELETE
</autogen>
</item>
<item>
<name>Delete to Backquote in Apple Keyboard only</name>
<identifier>remap.delete_to_backquote_apple</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::INTERNAL</device_only>
<autogen>
__KeyToKey__
KeyCode::DELETE,
KeyCode::BACKQUOTE
</autogen>
</item>
<item>
<name>Fn+Right Bracket to Backslash in Apple Keyboard only</name>
<identifier>remap.fn_right_bracket_to_backslash_apple</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::INTERNAL</device_only>
<autogen>
__KeyToKey__
KeyCode::BRACKET_RIGHT, ModifierFlag::FN,
KeyCode::BACKSLASH
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment