Advertisement
Guest User

Config CapSense PSoC Flying Mouse

a guest
Apr 16th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <CapSense_CSD_P4 xmlns:Version="2_30">
  3.   <Widgets>
  4.     <ListMainTerminal>
  5.       <CyTerminal NameIndex="0" WidgetName="Slider__LS" />
  6.       <CyTerminal NameIndex="1" WidgetName="Slider__LS" />
  7.       <CyTerminal NameIndex="2" WidgetName="Slider__LS" />
  8.       <CyTerminal NameIndex="3" WidgetName="Slider__LS" />
  9.       <CyTerminal NameIndex="4" WidgetName="Slider__LS" />
  10.       <CyTerminal NameIndex="5" WidgetName="Slider__LS" />
  11.       <CyTerminal NameIndex="6" WidgetName="Slider__LS" />
  12.       <CyTerminal NameIndex="7" WidgetName="Slider__LS" />
  13.       <CyTerminal NameIndex="0" WidgetName="ClicGauche__BTN" />
  14.       <CyTerminal NameIndex="0" WidgetName="ClicDroit__BTN" />
  15.       <CyTerminal NameIndex="0" WidgetName="ClicMilieu__BTN" />
  16.     </ListMainTerminal>
  17.     <ListButtons>
  18.       <CyButton Name="ClicGauche" Type="Button" Count="1" Angle="0" Fliped="false" Fliped2D="false" ScaleFactor="1">
  19.         <Location>
  20.           <X>2147483647</X>
  21.           <Y>2147483647</Y>
  22.         </Location>
  23.         <Properties>
  24.           <Hysteresis>10</Hysteresis>
  25.           <Debounce>5</Debounce>
  26.           <FingerThreshold>100</FingerThreshold>
  27.           <NoiseThreshold>20</NoiseThreshold>
  28.           <ScanResolution>_10</ScanResolution>
  29.           <ApiResolution>100</ApiResolution>
  30.         </Properties>
  31.       </CyButton>
  32.       <CyButton Name="ClicDroit" Type="Button" Count="1" Angle="0" Fliped="false" Fliped2D="false" ScaleFactor="1">
  33.         <Location>
  34.           <X>2147483647</X>
  35.           <Y>2147483647</Y>
  36.         </Location>
  37.         <Properties>
  38.           <Hysteresis>10</Hysteresis>
  39.           <Debounce>5</Debounce>
  40.           <FingerThreshold>100</FingerThreshold>
  41.           <NoiseThreshold>20</NoiseThreshold>
  42.           <ScanResolution>_10</ScanResolution>
  43.           <ApiResolution>100</ApiResolution>
  44.         </Properties>
  45.       </CyButton>
  46.       <CyButton Name="ClicMilieu" Type="Button" Count="1" Angle="0" Fliped="false" Fliped2D="false" ScaleFactor="1">
  47.         <Location>
  48.           <X>2147483647</X>
  49.           <Y>2147483647</Y>
  50.         </Location>
  51.         <Properties>
  52.           <Hysteresis>10</Hysteresis>
  53.           <Debounce>5</Debounce>
  54.           <FingerThreshold>100</FingerThreshold>
  55.           <NoiseThreshold>20</NoiseThreshold>
  56.           <ScanResolution>_10</ScanResolution>
  57.           <ApiResolution>100</ApiResolution>
  58.         </Properties>
  59.       </CyButton>
  60.     </ListButtons>
  61.     <ListMatrixButtons />
  62.     <ListTouchPads />
  63.     <ListSliders>
  64.       <CySlider Name="Slider" Type="SliderLinear" Count="8" Angle="0" Fliped="false" Fliped2D="false" ScaleFactor="1" Diplexing="false" Resolution="100" FilterPropertiesPos="FirstOrderIIR0_75">
  65.         <Location>
  66.           <X>2147483647</X>
  67.           <Y>2147483647</Y>
  68.         </Location>
  69.         <Properties>
  70.           <Hysteresis>0</Hysteresis>
  71.           <Debounce>1</Debounce>
  72.           <FingerThreshold>100</FingerThreshold>
  73.           <NoiseThreshold>20</NoiseThreshold>
  74.           <ScanResolution>_10</ScanResolution>
  75.           <ApiResolution>100</ApiResolution>
  76.         </Properties>
  77.       </CySlider>
  78.     </ListSliders>
  79.     <GuardSensor Name="GuardSensor" Type="Button" Count="1" Angle="0" Fliped="false" Fliped2D="false" ScaleFactor="1">
  80.       <Location>
  81.         <X>2147483647</X>
  82.         <Y>2147483647</Y>
  83.       </Location>
  84.       <Properties>
  85.         <Hysteresis>10</Hysteresis>
  86.         <Debounce>5</Debounce>
  87.         <FingerThreshold>100</FingerThreshold>
  88.         <NoiseThreshold>20</NoiseThreshold>
  89.         <ScanResolution>_10</ScanResolution>
  90.         <ApiResolution>100</ApiResolution>
  91.       </Properties>
  92.     </GuardSensor>
  93.     <GuardSensorTerminal NameIndex="0" WidgetName="GuardSensor__GRD" />
  94.     <CyScanSlotsList>
  95.       <ListScanSlots>
  96.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  97.           <ListTerminalsNames>
  98.             <string>Slider_e0__LS</string>
  99.           </ListTerminalsNames>
  100.         </CyScanSlot>
  101.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  102.           <ListTerminalsNames>
  103.             <string>Slider_e1__LS</string>
  104.           </ListTerminalsNames>
  105.         </CyScanSlot>
  106.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  107.           <ListTerminalsNames>
  108.             <string>Slider_e2__LS</string>
  109.           </ListTerminalsNames>
  110.         </CyScanSlot>
  111.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  112.           <ListTerminalsNames>
  113.             <string>Slider_e3__LS</string>
  114.           </ListTerminalsNames>
  115.         </CyScanSlot>
  116.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  117.           <ListTerminalsNames>
  118.             <string>Slider_e4__LS</string>
  119.           </ListTerminalsNames>
  120.         </CyScanSlot>
  121.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  122.           <ListTerminalsNames>
  123.             <string>Slider_e5__LS</string>
  124.           </ListTerminalsNames>
  125.         </CyScanSlot>
  126.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  127.           <ListTerminalsNames>
  128.             <string>Slider_e6__LS</string>
  129.           </ListTerminalsNames>
  130.         </CyScanSlot>
  131.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="Slider__LS">
  132.           <ListTerminalsNames>
  133.             <string>Slider_e7__LS</string>
  134.           </ListTerminalsNames>
  135.         </CyScanSlot>
  136.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="ClicGauche__BTN">
  137.           <ListTerminalsNames>
  138.             <string>ClicGauche__BTN</string>
  139.           </ListTerminalsNames>
  140.         </CyScanSlot>
  141.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="ClicDroit__BTN">
  142.           <ListTerminalsNames>
  143.             <string>ClicDroit__BTN</string>
  144.           </ListTerminalsNames>
  145.         </CyScanSlot>
  146.         <CyScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="ClicMilieu__BTN">
  147.           <ListTerminalsNames>
  148.             <string>ClicMilieu__BTN</string>
  149.           </ListTerminalsNames>
  150.         </CyScanSlot>
  151.       </ListScanSlots>
  152.       <GuardSensorScanSlot IDAC1Settings="80" IDAC2Settings="80" Sensitivity="2" AnalogSwitchDivider="2" ModulatorDivider="2" WidgetName="GuardSensor__GRD">
  153.         <ListTerminalsNames>
  154.           <string>GuardSensor__GRD</string>
  155.         </ListTerminalsNames>
  156.       </GuardSensorScanSlot>
  157.     </CyScanSlotsList>
  158.   </Widgets>
  159.   <Settings>
  160.     <Prs>Prs_None</Prs>
  161.     <CurrentSource>IDAC_Source</CurrentSource>
  162.     <ShieldEnable>false</ShieldEnable>
  163.     <ShieldDelay>ShieldDelay_0</ShieldDelay>
  164.     <ShieldTankEnable>false</ShieldTankEnable>
  165.     <MultipleAnalogSwitchDivider>true</MultipleAnalogSwitchDivider>
  166.     <GuardSensorEnable>false</GuardSensorEnable>
  167.     <WidgetResolution>Res8</WidgetResolution>
  168.     <SensorAutoReset>false</SensorAutoReset>
  169.     <ConnectInactiveSensors>Ground</ConnectInactiveSensors>
  170.     <IdacRange>IDAC_4x</IdacRange>
  171.     <ScanSpeed>Normal</ScanSpeed>
  172.     <MeasureType>MeasureType_SelfCap</MeasureType>
  173.     <CmodPrecharge>CapPrVref</CmodPrecharge>
  174.     <Csh_tankPrecharge>CapPrVref</Csh_tankPrecharge>
  175.     <TuningMethod>Tuning_Auto</TuningMethod>
  176.     <RawDataFilterType>FirstOrderIIR0_75</RawDataFilterType>
  177.     <IdacCount>2</IdacCount>
  178.     <ImmunityLevel>Low</ImmunityLevel>
  179.     <ThresholdMode>false</ThresholdMode>
  180.     <WaterProofing>false</WaterProofing>
  181.     <EnableBIST>false</EnableBIST>
  182.     <EnableAutoCalibration>false</EnableAutoCalibration>
  183.     <AnalogSwitchDivider>12</AnalogSwitchDivider>
  184.     <ModulatorDivider>12</ModulatorDivider>
  185.     <NegativeNoiseThreshold>20</NegativeNoiseThreshold>
  186.     <LowBaselineReset>5</LowBaselineReset>
  187.     <EnableTuneHelper>false</EnableTuneHelper>
  188.     <CustomEzI2CInstanceName>SCB</CustomEzI2CInstanceName>
  189.     <Gestures>
  190.       <ClicksEnabled>true</ClicksEnabled>
  191.       <ZoomEnabled>true</ZoomEnabled>
  192.       <OneFingerScrollsEnabled>true</OneFingerScrollsEnabled>
  193.       <TwoFingerScrollsEnabled>true</TwoFingerScrollsEnabled>
  194.       <FlicksEnabled>false</FlicksEnabled>
  195.       <RotateEnabled>false</RotateEnabled>
  196.       <EdgeSwipesEnabled>true</EdgeSwipesEnabled>
  197.       <GeneralGesturesProperties>
  198.         <TwoFingerSettlingCount>3</TwoFingerSettlingCount>
  199.       </GeneralGesturesProperties>
  200.       <ClickGesturesProperties>
  201.         <SingleClickMinTimeout>20</SingleClickMinTimeout>
  202.         <SingleClickMaxTimeout>1000</SingleClickMaxTimeout>
  203.         <DoubleClickMinTimeout>10</DoubleClickMinTimeout>
  204.         <DoubleClickMaxTimeout>1000</DoubleClickMaxTimeout>
  205.         <TwoFingerClickMinTimeout>100</TwoFingerClickMinTimeout>
  206.         <TwoFingerClickMaxTimeout>1000</TwoFingerClickMaxTimeout>
  207.         <DoubleClickMaxRadius>20</DoubleClickMaxRadius>
  208.         <ClickXRadiusPX>30</ClickXRadiusPX>
  209.         <ClickYRadiusPX>30</ClickYRadiusPX>
  210.       </ClickGesturesProperties>
  211.       <ZoomGesturesProperties>
  212.         <ZoomActiveDistanceThresholdX>8</ZoomActiveDistanceThresholdX>
  213.         <ZoomActiveDistanceThresholdY>8</ZoomActiveDistanceThresholdY>
  214.         <DebounceZoomCount>3</DebounceZoomCount>
  215.         <DebounceScrollToZoomCount>5</DebounceScrollToZoomCount>
  216.       </ZoomGesturesProperties>
  217.       <OneFingerScrollProperties>
  218.         <OneFingerScrollThreshold1X>5</OneFingerScrollThreshold1X>
  219.         <OneFingerScrollThreshold2X>7</OneFingerScrollThreshold2X>
  220.         <OneFingerScrollThreshold3X>8</OneFingerScrollThreshold3X>
  221.         <OneFingerScrollThreshold4X>11</OneFingerScrollThreshold4X>
  222.         <OneFingerScrollThreshold1Y>5</OneFingerScrollThreshold1Y>
  223.         <OneFingerScrollThreshold2Y>7</OneFingerScrollThreshold2Y>
  224.         <OneFingerScrollThreshold3Y>9</OneFingerScrollThreshold3Y>
  225.         <OneFingerScrollThreshold4Y>11</OneFingerScrollThreshold4Y>
  226.         <OneFingerScrollStep1>1</OneFingerScrollStep1>
  227.         <OneFingerScrollStep2>3</OneFingerScrollStep2>
  228.         <OneFingerScrollStep3>5</OneFingerScrollStep3>
  229.         <OneFingerScrollStep4>7</OneFingerScrollStep4>
  230.         <OneFingerScrollDebounceCount>3</OneFingerScrollDebounceCount>
  231.         <OneFingerInertialScrollActiveDistanceThresholdX>5</OneFingerInertialScrollActiveDistanceThresholdX>
  232.         <OneFingerInertialScrollActiveDistanceThresholdY>5</OneFingerInertialScrollActiveDistanceThresholdY>
  233.         <OneFingerInertialScrollCountLevel>Inert_Low</OneFingerInertialScrollCountLevel>
  234.       </OneFingerScrollProperties>
  235.       <TwoFingersScrollProperties>
  236.         <TwoFingerScrollThreshold1X>5</TwoFingerScrollThreshold1X>
  237.         <TwoFingerScrollThreshold2X>7</TwoFingerScrollThreshold2X>
  238.         <TwoFingerScrollThreshold3X>8</TwoFingerScrollThreshold3X>
  239.         <TwoFingerScrollThreshold4X>11</TwoFingerScrollThreshold4X>
  240.         <TwoFingerScrollThreshold1Y>5</TwoFingerScrollThreshold1Y>
  241.         <TwoFingerScrollThreshold2Y>7</TwoFingerScrollThreshold2Y>
  242.         <TwoFingerScrollThreshold3Y>9</TwoFingerScrollThreshold3Y>
  243.         <TwoFingerScrollThreshold4Y>11</TwoFingerScrollThreshold4Y>
  244.         <TwoFingerScrollStep1>1</TwoFingerScrollStep1>
  245.         <TwoFingerScrollStep2>3</TwoFingerScrollStep2>
  246.         <TwoFingerScrollStep3>5</TwoFingerScrollStep3>
  247.         <TwoFingerScrollStep4>7</TwoFingerScrollStep4>
  248.         <TwoFingerScrollDebounceCount>3</TwoFingerScrollDebounceCount>
  249.         <TwoFingerInertialScrollActiveDistanceThresholdX>5</TwoFingerInertialScrollActiveDistanceThresholdX>
  250.         <TwoFingerInertialScrollActiveDistanceThresholdY>5</TwoFingerInertialScrollActiveDistanceThresholdY>
  251.         <TwoFingerInertialScrollCountLevel>Inert_Low</TwoFingerInertialScrollCountLevel>
  252.       </TwoFingersScrollProperties>
  253.       <EdgeSwipeGesturesProperties>
  254.         <ActiveEdgeSwipeThreshold>10</ActiveEdgeSwipeThreshold>
  255.         <TopAngleThreshold>45</TopAngleThreshold>
  256.         <BottomAngleThreshold>45</BottomAngleThreshold>
  257.         <WidthOfDisambiguationRegion>5</WidthOfDisambiguationRegion>
  258.         <EdgeSwipeTimeout>100</EdgeSwipeTimeout>
  259.         <EdgeSwipeCompleteTimeout>2000</EdgeSwipeCompleteTimeout>
  260.       </EdgeSwipeGesturesProperties>
  261.       <FlickGesturesProperties>
  262.         <FlickActiveDistanceThresholdX>30</FlickActiveDistanceThresholdX>
  263.         <FlickActiveDistanceThresholdY>30</FlickActiveDistanceThresholdY>
  264.         <FlickSampleTime>3</FlickSampleTime>
  265.       </FlickGesturesProperties>
  266.       <RotateGesturesProperties>
  267.         <RotateDebounceLimit>20</RotateDebounceLimit>
  268.       </RotateGesturesProperties>
  269.     </Gestures>
  270.   </Settings>
  271. </CapSense_CSD_P4>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement