IDTech Windows SDK Guide  1.2.64.00
API reference for NEO2
Add Device Details to the Application's Manifest

In order for your application to recognize the device, the device's details must be added to the application's manifest file.

Open up your project's Package.appxmanifest file by right-clicking on it in the Solution Explorer, selecting "Open With...", and then choosing "XML (Text) Editor".

manifest_uwp.png

Search for the "Capabilities" tag and add the following code in between:

<DeviceCapability Name="humaninterfacedevice">
<!-- NEO2 -->
<Device Id="vidpid:0ACD 3520 usb">
<Function Type="usage:FF00 0001"/>
</Device>
</DeviceCapability>


The aforementioned code contains the vendor ID (VID) and product ID (PID) of a NEO2 device.

The Package.appxmanifest file should now look similar to the following:

<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="122f2a12-ff29-418e-b4d4-f006ce22dd96"
Publisher="CN=davidt"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="122f2a12-ff29-418e-b4d4-f006ce22dd96" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>NEO2_Simple_Demo_UWP</DisplayName>
<PublisherDisplayName>davidt</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="NEO2_Simple_Demo_UWP.App">
<uap:VisualElements
DisplayName="NEO2_Simple_Demo_UWP"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="NEO2_Simple_Demo_UWP"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="humaninterfacedevice">
<!-- NEO2 -->
<Device Id="vidpid:0ACD 3520 usb">
<Function Type="usage:FF00 0001"/>
</Device>
</DeviceCapability>
</Capabilities>
</Package>