<Keyman>
   <InputFilter>
		<!-- restrict filtered keys -->
      <PassThrough>
         <!-- do never filter any of the following keys -->
         <!-- Escape to capslock -->
         <KeyRange>1-58</KeyRange>
         <KeyRange>70-70</KeyRange>
         <KeyRange>89-101</KeyRange>
         <KeyRange>110-111</KeyRange>
         <!-- maybe some more keys shouldn't be filtered as well -->
      </PassThrough>

		<!-- where is the keyman key and how to handle keys that are used with the keyman key -->
		<Device name="CyMotion Master">
			<!-- what device sources should use the following conversion -->
			<Source name="USB">
				<Bus>USB</Bus>
				<Vendor>0x46a</Vendor>
				<Product>0x0023</Product>
			</Source>
			<!-- specify keyman keycode and what keys are handled -->
			<Keyman key="0xb7">
				<Key key="143">142</Key>
			</Keyman>
		</Device>
		<Device name="CyMotion PRO">
			<!-- what device sources should use the following conversion -->
			<Source name="USB">
				<Bus>USB</Bus>
				<Vendor>0x46a</Vendor>
				<Product>0x002a</Product>
			</Source>
			<!-- specify keyman keycode and what keys are handled -->
			<Keyman key="0xb7">
				<Key key="12">69</Key>
				<Key key="13">70</Key>
				<Key key="99">119</Key>
				<Key key="110">87</Key>
				<Key key="111">88</Key>
				<Key key="104">102</Key>
				<Key key="109">107</Key>
				<Key key="59">177</Key>
				<Key key="60">178</Key>
				<Key key="61">137</Key>
				<Key key="62">133</Key>
				<Key key="63">135</Key>
				<Key key="64">148</Key>
				<Key key="65">149</Key>
				<Key key="66">202</Key>
				<Key key="67">182</Key>
				<Key key="68">131</Key>
			</Keyman>
		</Device>
		<Device name="CyMotion PRO cable">
			<!-- what device sources should use the following conversion -->
			<Source name="USB">
				<Bus>USB</Bus>
				<Vendor>0x46a</Vendor>
				<Product>0x002b</Product>
			</Source>
			<!-- specify keyman keycode and what keys are handled -->
			<Keyman key="0xb7">
				<Key key="12">69</Key>
				<Key key="13">70</Key>
				<Key key="99">119</Key>
				<Key key="110">87</Key>
				<Key key="111">88</Key>
				<Key key="104">102</Key>
				<Key key="109">107</Key>
				<Key key="59">177</Key>
				<Key key="60">178</Key>
				<Key key="61">137</Key>
				<Key key="62">133</Key>
				<Key key="63">135</Key>
				<Key key="64">148</Key>
				<Key key="65">149</Key>
				<Key key="66">202</Key>
				<Key key="67">182</Key>
				<Key key="68">131</Key>
			</Keyman>
		</Device>
		<Device name="CyMotion Expert Combo">
			<!-- what device sources should use the following conversion -->
			<Source name="USB">
				<Bus>USB</Bus>
				<Vendor>0x46a</Vendor>
				<Product>0x0021</Product>
			</Source>
			<!-- specify keyman keycode and what keys are handled -->
			<Keyman key="0xb7">
				<Key key="59">158</Key>
				<Key key="60">159</Key>
				<Key key="61">128</Key>
				<Key key="62">173</Key>
				<Key key="63">164</Key>
				<Key key="64">166</Key>
				<Key key="65">165</Key>
				<Key key="66">163</Key>
				<Key key="67">136</Key>
				<Key key="68">144</Key>
				<Key key="87">156</Key>
			</Keyman>
		</Device>
   </InputFilter>
</Keyman>

