Skip to content

Instantly share code, notes, and snippets.

@raptium
Created February 16, 2016 06:45
Show Gist options
  • Save raptium/272b4617c4fdc1cfb1fc to your computer and use it in GitHub Desktop.
Save raptium/272b4617c4fdc1cfb1fc to your computer and use it in GitHub Desktop.
Minila Air HHKB
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>BROADCOM_BLUETOOTH</vendorname>
<vendorid>0x0a5c</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>FILCO_MINILA_AIR</productname>
<productid>0x8502</productid>
</deviceproductdef>
<modifierdef>MINILA_FN</modifierdef>
<item>
<name>FILCO Minila Air</name>
<item>
<name>Swap backslash(\) and backquote(`)</name>
<appendix>HHKB Layout</appendix>
<identifier>private.swap_backslash_and_backquote</identifier>
<device_only>DeviceVendor::BROADCOM_BLUETOOTH,DeviceProduct::FILCO_MINILA_AIR</device_only>
<autogen>__KeyToKey__ KeyCode::BACKSLASH, KeyCode::BACKQUOTE</autogen>
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, KeyCode::BACKSLASH</autogen>
</item>
<item>
<name>HHKB FN Layer (Volume Control)</name>
<identifier>private.minila_hhkb_fn_layer</identifier>
<device_only>DeviceVendor::BROADCOM_BLUETOOTH,DeviceProduct::FILCO_MINILA_AIR</device_only>
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::VK_MODIFIER_MINILA_FN</autogen>
<!-- volumes -->
<autogen>
__KeyToKey__
KeyCode::A, ModifierFlag::MINILA_FN,
ConsumerKeyCode::VOLUME_DOWN
</autogen>
<autogen>
__KeyToKey__
KeyCode::S, ModifierFlag::MINILA_FN,
ConsumerKeyCode::VOLUME_UP
</autogen>
<autogen>
__KeyToKey__
KeyCode::D, ModifierFlag::MINILA_FN,
ConsumerKeyCode::VOLUME_MUTE
</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment