Permalink
Browse files

initial code

  • Loading branch information...
etihwddot committed Dec 15, 2010
0 parents commit c468bc77a6d1eb829cd30afe18811c9f4975237d
Showing with 1,061 additions and 0 deletions.
  1. BIN Driver/amd64/WdfCoInstaller01009.dll
  2. BIN Driver/amd64/psdrv3.sys
  3. BIN Driver/dpinst-amd64.exe
  4. BIN Driver/dpinst-x86.exe
  5. +16 −0 Driver/dpinst.xml
  6. BIN Driver/psdrv3.cat
  7. BIN Driver/psdrv3.ico
  8. +153 −0 Driver/psdrv3.inf
  9. BIN Driver/x86/WdfCoInstaller01009.dll
  10. BIN Driver/x86/psdrv3.sys
  11. +20 −0 KinectWpfDemo/KinectWpfDemo.sln
  12. BIN KinectWpfDemo/lib/ManagedNite.dll
  13. BIN KinectWpfDemo/lib/XnCore.dll
  14. BIN KinectWpfDemo/lib/XnDDK.dll
  15. BIN KinectWpfDemo/lib/XnDeviceFile.dll
  16. BIN KinectWpfDemo/lib/XnDeviceSensorV2.dll
  17. BIN KinectWpfDemo/lib/XnFormats.dll
  18. BIN KinectWpfDemo/lib/XnSensorServer.exe
  19. BIN KinectWpfDemo/lib/XnVFeatures.dll
  20. BIN KinectWpfDemo/lib/XnVHandGenerator.dll
  21. BIN KinectWpfDemo/lib/XnVNITE.dll
  22. BIN KinectWpfDemo/lib/nimCodecs.dll
  23. BIN KinectWpfDemo/lib/nimMockNodes.dll
  24. BIN KinectWpfDemo/lib/nimRecorder.dll
  25. BIN KinectWpfDemo/lib/openNI.dll
  26. +9 −0 KinectWpfDemo/src/KinectWpfDemo/App.xaml
  27. +9 −0 KinectWpfDemo/src/KinectWpfDemo/App.xaml.cs
  28. +16 −0 KinectWpfDemo/src/KinectWpfDemo/Data/FeatureExtraction.ini
  29. +186 −0 KinectWpfDemo/src/KinectWpfDemo/Data/GlobalDefaults.ini
  30. +3 −0 KinectWpfDemo/src/KinectWpfDemo/Data/Nite.ini
  31. +34 −0 KinectWpfDemo/src/KinectWpfDemo/Data/SamplesConfig.xml
  32. BIN KinectWpfDemo/src/KinectWpfDemo/Data/h.dat
  33. +3 −0 KinectWpfDemo/src/KinectWpfDemo/Data/licenses.xml
  34. +9 −0 KinectWpfDemo/src/KinectWpfDemo/Data/modules.xml
  35. +31 −0 KinectWpfDemo/src/KinectWpfDemo/Data/openNI.xml
  36. BIN KinectWpfDemo/src/KinectWpfDemo/Data/s.dat
  37. +202 −0 KinectWpfDemo/src/KinectWpfDemo/KinectWpfDemo.csproj
  38. +11 −0 KinectWpfDemo/src/KinectWpfDemo/MainWindow.xaml
  39. +79 −0 KinectWpfDemo/src/KinectWpfDemo/MainWindow.xaml.cs
  40. +55 −0 KinectWpfDemo/src/KinectWpfDemo/Properties/AssemblyInfo.cs
  41. +71 −0 KinectWpfDemo/src/KinectWpfDemo/Properties/Resources.Designer.cs
  42. +117 −0 KinectWpfDemo/src/KinectWpfDemo/Properties/Resources.resx
  43. +30 −0 KinectWpfDemo/src/KinectWpfDemo/Properties/Settings.Designer.cs
  44. +7 −0 KinectWpfDemo/src/KinectWpfDemo/Properties/Settings.settings
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<dpInst>
+ <legacyMode/>
+ <enableNotListedLanguages/>
+ <language code="0x0409">
+ <dpinstTitle>PrimeSensor Device Driver Installer</dpinstTitle>
+
+ <welcomeTitle>Welcome to the PrimeSensor Device Driver Installer!</welcomeTitle>
+ <welcomeIntro>This wizard will walk you through updating the drivers for your PrimeSensor device.</welcomeIntro>
+
+ <installHeaderTitle>Installing the software for your PrimeSensor device...</installHeaderTitle>
+
+ <finishTitle>Congratulations! You have finished installing your PrimeSensor device drivers!</finishTitle>
+ </language>
+ <icon>psdrv3.ico</icon>
+</dpInst>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,153 @@
+;/****************************************************************************
+;* *
+;* PrimeSensor Device Driver v3.x INF *
+;* *
+;* Author: Ziv Hendel *
+;* *
+;* Copyright (C) 2006 PrimeSense Ltd. All Rights Reserved. *
+;* *
+;* This file has been provided pursuant to a License Agreement containing *
+;* restrictions on its use. This data contains valuable trade secrets *
+;* and proprietary information of PrimeSense Inc. and is protected by law. *
+;* *
+;****************************************************************************/
+;
+; Modded by avin to support the Kinect.
+;
+
+; ================= Version section ===================
+
+[Version]
+Signature="$WINDOWS NT$"
+Class=PrimeSensor
+ClassGuid={dce97d75-aef7-1980-1909-531357633001}
+Provider=%PS%
+DriverVer=07/13/2010,3.1.0.4
+CatalogFile=psdrv3.cat
+
+; ================= Class section =====================
+
+[ClassInstall32]
+Addreg=PrimeSensorClassReg
+
+[PrimeSensorClassReg]
+HKR,,,0,%ClassName%
+HKR,,Icon,,"-20"
+
+; ================= Device section =====================
+
+[DestinationDirs]
+DefaultDestDir = 12 ; Driver Dir
+
+[Manufacturer]
+%MfgName%=PrimeSense,NTx86,NTamd64
+
+[PrimeSense.NTx86]
+%USB\VID_1D27&PID_0200.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0200&MI_00
+%USB\VID_1D27&PID_0200.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0200
+%USB\VID_1D27&PID_0300.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0300&MI_00
+%USB\VID_1D27&PID_0300.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0300
+%USB\VID_1D27&PID_0400.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0400&MI_00
+%USB\VID_1D27&PID_0400.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0400
+%USB\VID_1D27&PID_0500.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0500&MI_00
+%USB\VID_1D27&PID_0500.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0500
+%USB\VID_1D27&PID_0600.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0600&MI_00
+%USB\VID_1D27&PID_0600.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0600
+%USB\VID_045E&PID_02B0.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02B0&MI_00
+%USB\VID_045E&PID_02B0.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02B0
+%USB\VID_045E&PID_02AE.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02AE&MI_00
+%USB\VID_045E&PID_02AE.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02AE
+
+[PrimeSense.NTamd64]
+%USB\VID_1D27&PID_0200.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0200&MI_00
+%USB\VID_1D27&PID_0200.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0200
+%USB\VID_1D27&PID_0300.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0300&MI_00
+%USB\VID_1D27&PID_0300.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0300
+%USB\VID_1D27&PID_0400.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0400&MI_00
+%USB\VID_1D27&PID_0400.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0400
+%USB\VID_1D27&PID_0500.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0500&MI_00
+%USB\VID_1D27&PID_0500.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0500
+%USB\VID_1D27&PID_0600.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0600&MI_00
+%USB\VID_1D27&PID_0600.DeviceDesc%=psdrv3.Dev, USB\VID_1D27&PID_0600
+%USB\VID_045E&PID_02B0.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02B0&MI_00
+%USB\VID_045E&PID_02B0.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02B0
+%USB\VID_045E&PID_02AE.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02AE&MI_00
+%USB\VID_045E&PID_02AE.DeviceDesc%=psdrv3.Dev, USB\VID_045E&PID_02AE
+
+[psdrv3.Dev.NT]
+CopyFiles=psdrv3.Files.Ext
+
+[psdrv3.Dev.NT.Services]
+Addservice = psdrv3, 0x00000002, psdrv3.AddService
+
+[psdrv3.AddService]
+DisplayName = %psdrv3.SvcDesc%
+ServiceType = 1 ; SERVICE_KERNEL_DRIVER
+StartType = 3 ; SERVICE_DEMAND_START
+ErrorControl = 1 ; SERVICE_ERROR_NORMAL
+ServiceBinary = %10%\System32\Drivers\psdrv3.sys
+AddReg = psdrv3.AddReg
+LoadOrderGroup = Base
+
+[psdrv3.AddReg]
+HKR,"Parameters","MaximumTransferSize",0x10001,65536
+HKR,"Parameters","DebugLevel",0x10001,2
+HKR,"Parameters","RemovableIcon",0x10001,0
+
+[psdrv3.Files.Ext]
+psdrv3.sys
+
+[SourceDisksNames.x86]
+1=%Disk_Description%,,,\x86
+
+[SourceDisksNames.amd64]
+2=%Disk_Description%,,,\amd64
+
+[SourceDisksFiles.x86]
+psdrv3.sys = 1
+
+[SourceDisksFiles.amd64]
+psdrv3.sys = 2
+
+; ================= WDF section =====================
+
+[DestinationDirs]
+CoInstaller_CopyFiles = 11 ; System Dir
+
+[psdrv3.Dev.NT.CoInstallers]
+AddReg=CoInstaller_AddReg
+CopyFiles=CoInstaller_CopyFiles
+
+[CoInstaller_CopyFiles]
+WdfCoInstaller01009.dll
+
+[SourceDisksFiles.x86]
+WdfCoInstaller01009.dll=1
+
+[SourceDisksFiles.amd64]
+WdfCoInstaller01009.dll=2
+
+[CoInstaller_AddReg]
+HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
+
+[psdrv3.Dev.NT.Wdf]
+KmdfService = psdrv3, psdrv3_wdfsect
+
+[psdrv3_wdfsect]
+KmdfLibraryVersion = 1.9
+
+; ================= Strings section =====================
+
+[Strings]
+PS = "PrimeSense"
+MfgName = "PrimeSense Ltd."
+Disk_Description= "PrimeSensor Device Driver Installation Disk v3.x"
+psdrv3.SvcDesc = "PrimeSensor Device Driver Service v3.x"
+ClassName = "PrimeSensor"
+USB\VID_1D27&PID_0200.DeviceDesc="PrimeSensor Development Kit 2.x"
+USB\VID_1D27&PID_0300.DeviceDesc="PrimeSensor Development Kit 3.x"
+USB\VID_1D27&PID_0400.DeviceDesc="PrimeSensor Development Kit 4.x"
+USB\VID_1D27&PID_0500.DeviceDesc="PrimeSensor Development Kit 5.x"
+USB\VID_1D27&PID_0600.DeviceDesc="PrimeSensor Reference Design 1.08x"
+USB\VID_045E&PID_02B0.DeviceDesc="Kinect Motor"
+USB\VID_045E&PID_02AE.DeviceDesc="Kinect Camera"
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KinectWpfDemo", "src\KinectWpfDemo\KinectWpfDemo.csproj", "{0761A22A-D597-457C-9BA7-E0CC3080BD6E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x86 = Debug|x86
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0761A22A-D597-457C-9BA7-E0CC3080BD6E}.Debug|x86.ActiveCfg = Debug|x86
+ {0761A22A-D597-457C-9BA7-E0CC3080BD6E}.Debug|x86.Build.0 = Debug|x86
+ {0761A22A-D597-457C-9BA7-E0CC3080BD6E}.Release|x86.ActiveCfg = Release|x86
+ {0761A22A-D597-457C-9BA7-E0CC3080BD6E}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
+<Application
+ x:Class="KinectWpfDemo.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ StartupUri="MainWindow.xaml">
+ <Application.Resources>
+
+ </Application.Resources>
+</Application>
@@ -0,0 +1,9 @@
+
+using System.Windows;
+
+namespace KinectWpfDemo
+{
+ public partial class App : Application
+ {
+ }
+}
@@ -0,0 +1,16 @@
+[BodyParameters]
+;ShoulderWidth=350
+;HipWidth=250
+;TorsoHeight=500
+;UpperArmLength=300
+;LowerArmLength=300
+;UpperLegLength=420
+;LowerLegLength=480
+;NeckHeight=100
+;HeadHeight=250
+
+[FeatureExtractor]
+AutoBodyParameters=1
+AutoCalibrate=1
+AlwaysRunCalibration=0
+;OverrideHeight=1000
Oops, something went wrong.

0 comments on commit c468bc7

Please sign in to comment.