├── .gitattributes
├── .gitignore
├── BuildAll.bat
├── CreateVersion
├── CreateVersion.cpp
├── CreateVersion.vcxproj
├── CreateVersion.vcxproj.filters
├── output-git-desc.h
├── resource.h
├── stdafx.cpp
├── stdafx.h
├── targetver.h
└── version.rc
├── LICENSE.txt
├── Latest.php
├── Performance1.psess
├── README.md
├── SDK
├── CreateSdk.bat
├── ReadMe.odt
├── c#
│ ├── FeederDemoCS
│ │ ├── FeederDemoCS.csproj
│ │ ├── FeederDemoCS.sln
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── ReadMe.odt
│ ├── x64
│ │ ├── vJoyInterface.dll
│ │ └── vJoyInterfaceWrap.dll
│ └── x86
│ │ ├── vJoyInterface.dll
│ │ └── vJoyInterfaceWrap.dll
├── inc
│ ├── public.h
│ └── vjoyinterface.h
├── lib
│ ├── amd64
│ │ ├── vJoyInterface.dll
│ │ └── vJoyInterface.lib
│ ├── vJoyInterface.dll
│ └── vJoyInterface.lib
└── src
│ ├── stdafx.h
│ ├── vJoyClient.cpp
│ ├── vJoyClient.sln
│ └── vJoyClient.vcproj
├── apps
├── External
│ ├── DLL
│ │ ├── x64
│ │ │ ├── mfc120u.dll
│ │ │ ├── msvcp110.dll
│ │ │ ├── msvcp120.dll
│ │ │ ├── msvcr110.dll
│ │ │ ├── msvcr120.dll
│ │ │ ├── vGenInterface.dll
│ │ │ └── vJoyMonitor.dll
│ │ └── x86
│ │ │ ├── mfc120u.dll
│ │ │ ├── msvcp110.dll
│ │ │ ├── msvcp120.dll
│ │ │ ├── msvcr110.dll
│ │ │ ├── msvcr120.dll
│ │ │ ├── vGenInterface.dll
│ │ │ └── vJoyMonitor.dll
│ └── JoyMonitor
│ │ ├── x64
│ │ └── JoyMonitor.exe
│ │ └── x86
│ │ └── JoyMonitor.exe
├── FfbMon
│ ├── FfbMon.cpp
│ ├── FfbMon.h
│ ├── FfbMon.sln
│ ├── FfbMon.vcxproj
│ ├── bldFfbMon.bat
│ ├── makefile
│ ├── makefile.inc
│ ├── sources
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── Monitor
│ ├── DXUT
│ │ ├── Core
│ │ │ └── dpiaware.manifest
│ │ └── Optional
│ │ │ └── directx.ico
│ ├── Joystick.aps
│ ├── Joystick.cpp
│ ├── Joystick.gif
│ ├── Joystick.rc
│ ├── Joystick_2008.ncb
│ ├── Joystick_2008.sdf
│ ├── Joystick_2008.sln
│ ├── Joystick_2008.suo
│ ├── Joystick_2008.vcproj
│ ├── Joystick_2008.vcxproj
│ └── resource.h
├── SignApps.bat
├── common
│ ├── dirs
│ ├── stdafx.cpp
│ ├── vJoyInterface.cpp
│ ├── vJoyInterface
│ │ ├── bldInterface.bat
│ │ ├── makefile
│ │ ├── makefile.inc
│ │ ├── sources
│ │ ├── stdafx.h
│ │ ├── svn_version.h.tmpl
│ │ ├── targetver.h
│ │ ├── vJoyInterface.def
│ │ ├── vJoyInterface.rc
│ │ ├── vJoyInterface.ruleset
│ │ ├── vJoyInterface.sln
│ │ ├── vJoyInterface.vcproj
│ │ ├── vJoyInterface.vcxproj
│ │ ├── vJoyInterface2012.sln
│ │ ├── vJoyInterface2012.vcxproj
│ │ ├── vJoyInterface2012.vcxproj.filters
│ │ ├── version.rc
│ │ └── vjoyinterface.h
│ ├── vJoyInterfaceCS
│ │ ├── Version
│ │ │ ├── Properties
│ │ │ │ └── GlobalAssemblyInfo.cs.tmpl
│ │ │ ├── Version.csproj
│ │ │ └── dummy.cs
│ │ ├── WrapperTest.vcxproj
│ │ ├── WrapperTest
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ └── Settings.Designer.cs
│ │ │ ├── TesterForm.Designer.cs
│ │ │ ├── TesterForm.cs
│ │ │ ├── TesterForm.resx
│ │ │ ├── WrapperTest.csproj
│ │ │ ├── app.config
│ │ │ ├── bldTester.bat
│ │ │ ├── makefile
│ │ │ ├── makefile.inc
│ │ │ └── sources
│ │ ├── bldvJoyCS.bat
│ │ ├── makefile
│ │ ├── makefile.inc
│ │ ├── sources
│ │ ├── vJoyInterfaceCS.sln
│ │ └── vJoyInterfaceWrap
│ │ │ ├── GlobalAssemblyInfo.cs
│ │ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ │ ├── Wrapper.cs
│ │ │ ├── bldWrapper.bat
│ │ │ ├── makefile
│ │ │ ├── makefile.inc
│ │ │ ├── sources
│ │ │ └── vJoyInterfaceWrap.csproj
│ └── vJoyInterfaceStat
│ │ ├── stdafx.h
│ │ ├── targetver.h
│ │ ├── vJoyInterface.def
│ │ ├── vJoyInterface.sln
│ │ ├── vJoyInterface.vcproj
│ │ ├── vJoyInterface.vcxproj
│ │ ├── vJoyInterface2012.sln
│ │ ├── vJoyInterface2012.vcxproj.filters
│ │ ├── vJoyInterfaceStat2012.vcxproj
│ │ ├── vJoyInterfaceStat2012.vcxproj.filters
│ │ └── version.rc
├── dirs
├── vGenInterface
│ ├── Private.h
│ ├── ReadMe.txt
│ ├── dllmain.cpp
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── targetver.h
│ ├── vGenInterface.cpp
│ ├── vGenInterface.h
│ ├── vGenInterface.vcxproj
│ ├── vGenInterface.vcxproj.filters
│ └── vGenTest
│ │ ├── CompatTest
│ │ ├── CompatTest.cpp
│ │ ├── CompatTest.vcxproj
│ │ ├── CompatTest.vcxproj.filters
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ └── targetver.h
│ │ ├── FreeDev
│ │ ├── FreeDev.cpp
│ │ ├── FreeDev.vcxproj
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ └── targetver.h
│ │ ├── vGenTest.cpp
│ │ ├── vGenTest.vcxproj
│ │ └── vXboxTest
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ ├── targetver.h
│ │ ├── vXboxTest.cpp
│ │ ├── vXboxTest.vcxproj
│ │ └── vXboxTest.vcxproj.filters
├── vJoyClient
│ ├── ReadMe.txt
│ ├── makefile
│ ├── makefile.inc
│ ├── sources
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── targetver.h
│ ├── vJoyClient.cpp
│ ├── vJoyClient.sln
│ ├── vJoyClient.vcproj
│ ├── vJoyClient.vcproj.Shaul-Ivory2010.Shaul.user
│ ├── vJoyClient.vcxproj
│ ├── vJoyClient.vcxproj.user
│ └── vjoyclient.h
├── vJoyConf
│ ├── AssemblyInfo.cpp
│ ├── Form1.h
│ ├── Form1.resx
│ ├── Joystick-icon.ico
│ ├── ReadMe.txt
│ ├── TabIcon
│ │ ├── 1-Off.ico
│ │ ├── 1-On.ico
│ │ ├── 10-Off.ico
│ │ ├── 10-On.ico
│ │ ├── 11-Off.ico
│ │ ├── 11-On.ico
│ │ ├── 12-Off.ico
│ │ ├── 12-On.ico
│ │ ├── 13-Off.ico
│ │ ├── 13-On.ico
│ │ ├── 14-Off.ico
│ │ ├── 14-On.ico
│ │ ├── 15-Off.ico
│ │ ├── 15-On.ico
│ │ ├── 16-Del.ico
│ │ ├── 16-Off.ico
│ │ ├── 16-On.ico
│ │ ├── 2-Off.ico
│ │ ├── 2-On.ico
│ │ ├── 3-Off.ico
│ │ ├── 3-On.ico
│ │ ├── 4-Off.ico
│ │ ├── 4-On.ico
│ │ ├── 5-Off.ico
│ │ ├── 5-On.ico
│ │ ├── 6-Off.ico
│ │ ├── 6-On.ico
│ │ ├── 7-Off.ico
│ │ ├── 7-On.ico
│ │ ├── 8-Off.ico
│ │ ├── 8-On.ico
│ │ ├── 9-Off.ico
│ │ ├── 9-On.ico
│ │ └── Frame.ico
│ ├── app.ico
│ ├── app.rc
│ ├── bldConf.bat
│ ├── declarations.h
│ ├── hidReportDescFfb.h
│ ├── hidtoken.h
│ ├── hidusage.h
│ ├── makefile
│ ├── makefile.inc
│ ├── resource.h
│ ├── sources
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── svn_version.h.tmpl
│ ├── targetver.h
│ ├── vJoyConf.cpp
│ ├── vJoyConf.exe.Win32.manifest
│ ├── vJoyConf.exe.x64.manifest
│ ├── vJoyConf.h
│ ├── vJoyConf.ico
│ ├── vJoyConf.rc
│ ├── vJoyConf.sln
│ ├── vJoyConf.vcxproj
│ ├── vJoyConf.vcxproj.filters
│ ├── vJoyConfig
│ │ ├── Header.h
│ │ ├── resource.h
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ ├── svn_version.h.tmpl
│ │ ├── targetver.h
│ │ ├── vJoyConfig.cpp
│ │ ├── vJoyConfig.h
│ │ ├── vJoyConfig.rc
│ │ ├── vJoyConfig.sln
│ │ ├── vJoyConfig.vcxproj
│ │ ├── vJoyConfig.vcxproj.filters
│ │ └── version.rc
│ ├── vJoyDevice.cpp
│ ├── vJoyDevice.h
│ └── version.rc
├── vJoyDemo
│ ├── AssemblyInfo.cpp
│ ├── Form1.h
│ ├── Form1.resX
│ ├── FunkyLibrary.dll
│ ├── Joystick-icon.ico
│ ├── LBIndustrialCtrls.dll
│ ├── PPJIoctl.h
│ ├── ReadMe.txt
│ ├── app.rc
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── vJoyClient.cpp
│ ├── vJoyDemo.cpp
│ ├── vJoyDemo.sln
│ ├── vJoyDemo.vcproj
│ └── vjoyclient.h
├── vJoyFeeder
│ ├── AssemblyInfo.cpp
│ ├── Form1.h
│ ├── Form1.resx
│ ├── FunkyLibrary.dll
│ ├── Joystick-Feeder-icon.ico
│ ├── Joystick-icon.ico
│ ├── LBIndustrialCtrls.dll
│ ├── ReadMe.txt
│ ├── app.rc
│ ├── bldFeeder.bat
│ ├── makefile
│ ├── makefile.inc
│ ├── resource.h
│ ├── sources
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── svn_version.h.tmpl
│ ├── vJoyClient.cpp
│ ├── vJoyFeeder.cpp
│ ├── vJoyFeeder.ncb
│ ├── vJoyFeeder.sln
│ ├── vJoyFeeder.suo
│ ├── vJoyFeeder.vcproj
│ ├── vJoyFeeder.vcxproj
│ ├── vJoyFeeder.vcxproj.user
│ └── vjoyclient.h
├── vJoyInstall
│ ├── CmdLine
│ │ ├── stdafx.cpp
│ │ ├── vJoyInstall.cpp
│ │ ├── vJoyInstall.rc
│ │ ├── vJoyInstall.vcxproj
│ │ ├── vJoyInstall.vcxproj.filters
│ │ ├── vJoyInstallx64.exe.manifest
│ │ └── vJoyInstallx86.exe.manifest
│ ├── GTK
│ │ ├── Install.c
│ │ ├── Install.exe.manifest
│ │ ├── Joystick-icon.ico
│ │ ├── Joystick-icon.png
│ │ ├── buildgtk
│ │ ├── buildtest
│ │ ├── install.glade
│ │ ├── install.h
│ │ ├── install.ico
│ │ ├── install.rc
│ │ ├── makefile.inc
│ │ ├── setup_x64.SED
│ │ ├── setup_x86.SED
│ │ ├── sources
│ │ ├── svn_version.h.tmpl
│ │ ├── vJoyInstall.def
│ │ ├── vJoyInstall.rc
│ │ ├── vJoyInstall.vcxproj
│ │ ├── wrapper.cpp
│ │ └── wrapper.h
│ ├── Joystick-icon.ico
│ ├── Joystick-icon.png
│ ├── dirs
│ ├── install.h
│ ├── install.ico
│ ├── stdafx.h
│ ├── targetver.h
│ ├── vJoyInstall.def
│ ├── vJoyInstall.h
│ ├── vJoyInstall.rc
│ ├── vJoyInstall.vcxproj
│ ├── vJoyInstall.vcxproj.filters
│ ├── vJoyInstallLib.cpp
│ ├── wrapper.cpp
│ └── wrapper.h
└── vJoyList
│ ├── MyMFCListCtrl.cpp
│ ├── MyMFCListCtrl.h
│ ├── ReadMe.txt
│ ├── res
│ ├── Joystick-icon.ico
│ ├── vJoyList.ico
│ ├── vJoyList.rc2
│ └── version.rc
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── stdafx.h
│ ├── targetver.h
│ ├── vJoyList.cpp
│ ├── vJoyList.h
│ ├── vJoyList.rc
│ ├── vJoyList.vcxproj
│ ├── vJoyList.vcxproj.filters
│ ├── vJoyListDlg.cpp
│ └── vJoyListDlg.h
├── dirs
├── docs
├── Flexible vJoy descriptor.odt
├── How to prevent more than one vJoy device.odt
├── Inno_Setup_Installer.odt
├── OverView.odt
├── Position Datapath.odt
├── ReadMe.md
├── vGenInterface.odt
├── vJoy 1.0.3 - configurable driver.odt
├── vJoy215RN01.odt
└── vJoyInterface.odt
├── driver
├── Package
│ ├── Package.vcxproj
│ ├── Package.vcxproj.filters
│ └── Package.vcxproj.user
├── dirs
├── hidmapper
│ ├── hidkmdf.c
│ ├── hidkmdf.rc
│ ├── hidkmdf.vcxproj
│ ├── hidkmdf32.sys
│ ├── hidkmdf64.sys
│ ├── makefile.inc.props
│ └── sources.props
└── sys
│ ├── Debug
│ └── vJoy.tlog
│ │ ├── stampinf.command.1.tlog
│ │ ├── stampinf.read.1.tlog
│ │ └── stampinf.write.1.tlog
│ ├── driver.c
│ ├── errcodes.h
│ ├── errcodes.mc
│ ├── hid.c
│ ├── hidReportDesc.h
│ ├── hidReportDescSingle.h
│ ├── rawpdo.c
│ ├── rawpdo.h
│ ├── trace.h
│ ├── usb.c
│ ├── vJoy.vcxproj
│ ├── vJoy.vcxproj.filters
│ ├── vJoy.vcxproj.user
│ ├── vjoy.h
│ ├── vjoy.inx
│ └── vjoy.rc
├── inc
├── PPJIoctl.h
├── XOutput.h
├── public.h
├── vjoyinterface.h
└── wrapper.h
├── index.html
├── install
├── Joystick-icon.ico
├── Release
│ └── x86
│ │ └── hidkmdf.sys
├── SeTestCert.cer
├── SignDriver.bat
├── TraceView.ini
├── devcon.exe
├── driver.tmh
├── install.bat
├── install.ico
├── reinstall.bat
├── remove.bat
├── vJoyInstallerMerged.iss
└── vJoyInstallerSigned.iss
├── lib
├── objfre_wlh_amd64
│ └── amd64
│ │ ├── vJoyInstall.dll
│ │ ├── vJoyInterface.dll
│ │ └── vJoyInterface.lib
└── objfre_wxp_x86
│ └── i386
│ ├── vJoyInstall.dll
│ ├── vJoyInterface.dll
│ └── vJoyInterface.lib
└── vJoy.sln
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/BuildAll.bat:
--------------------------------------------------------------------------------
1 | echo off
2 | SET VS=14.0
3 | SET BUILDER=%ProgramFiles(x86)%\MSBuild\%VS%\Bin\MSBuild.exe
4 | SET Target64=x64\Release
5 | SET Target32=Win32\Release
6 | SET DigiCertUtil=%USERPROFILE%\DESKTOP\DigiCertUtil.exe
7 | SET InnoCompiler=%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe
8 |
9 |
10 | :build32
11 | echo %DATE% %TIME%: Cleaning vJoy (x86)
12 | "%BUILDER%" vjoy.sln /maxcpucount:1 /t:clean /p:Platform=Win32;Configuration=Release
13 | set BUILD_STATUS=%ERRORLEVEL%
14 | if not %BUILD_STATUS%==0 goto fail
15 |
16 | echo %DATE% %TIME%: Building vJoy (x86)
17 | "%BUILDER%" vjoy.sln /maxcpucount:4 /p:Platform=Win32;Configuration=Release
18 | set BUILD_STATUS=%ERRORLEVEL%
19 | if not %BUILD_STATUS%==0 goto fail
20 |
21 | :build64
22 | echo %DATE% %TIME%: Cleaning vJoy (x64)
23 | "%BUILDER%" vjoy.sln /maxcpucount:1 /t:clean /p:Platform=x64;Configuration=Release
24 | set BUILD_STATUS=%ERRORLEVEL%
25 | if not %BUILD_STATUS%==0 goto fail
26 |
27 | echo %DATE% %TIME%: Building vJoy (x64)
28 | "%BUILDER%" vjoy.sln /maxcpucount:4 /p:Platform=x64;Configuration=Release
29 | set BUILD_STATUS=%ERRORLEVEL%
30 | if not %BUILD_STATUS%==0 goto fail
31 |
32 | :signapps
33 | echo %DATE% %TIME%: Signing the applications
34 | IF NOT EXIST %DigiCertUtil% GOTO NOUTIL
35 | %DigiCertUtil% sign /sha1 "6d 54 71 df 6b bf af a5 d5 90 0c 88 c0 8d f0 e9 c5 13 69 0a" /noInput .\%Target64%\vJoyList.exe*.\%Target32%\vJoyList.exe*.\%Target64%\vJoyConf.exe*.\%Target32%\vJoyConf.exe*.\%Target64%\vJoyFeeder.exe*.\%Target32%\vJoyFeeder.exe
36 | set SIGN_STATUS=%ERRORLEVEL%
37 | if not %SIGN_STATUS%==0 goto fail
38 | echo %DATE% %TIME%: Signing the applications - OK
39 |
40 | :inno
41 | echo %DATE% %TIME%: Compiling the Inno Setup Script
42 | IF NOT EXIST "%InnoCompiler%" GOTO NOINNO
43 | "%InnoCompiler%" install\vJoyInstallerSigned.iss
44 | set INNO_STATUS=%ERRORLEVEL%
45 | if not %INNO_STATUS%==0 goto fail
46 | echo %DATE% %TIME%: Compiling the Inno Setup Script - OK
47 | exit /b 0
48 |
49 | :NOUTIL
50 | echo %DATE% %TIME%: Could not find DigiCertUtil on the desktop
51 | goto fail
52 |
53 | :NOINNO
54 | echo %DATE% %TIME%: Could not find Inno Setup Compiler
55 | goto fail
56 |
57 | :fail
58 | exit /b 1
59 |
--------------------------------------------------------------------------------
/CreateVersion/CreateVersion.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Header Files
20 |
21 |
22 | Header Files
23 |
24 |
25 | Header Files
26 |
27 |
28 |
29 |
30 | Source Files
31 |
32 |
33 | Source Files
34 |
35 |
36 |
37 |
38 | Resource Files
39 |
40 |
41 |
--------------------------------------------------------------------------------
/CreateVersion/output-git-desc.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #define VER_H_ 4
3 | #define VER_M_ 0
4 | #define VER_L_ 1
5 | #define BUILD 2
6 |
7 | #define FILEVER "4, 0, 1, 2"
8 | #define PRODVER_TAG "v4.0.1"
9 | #define PRODVER_SHA1 "3d996b"
10 |
11 |
--------------------------------------------------------------------------------
/CreateVersion/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by version.rc
4 |
5 | // Next default values for new objects
6 | //
7 | #ifdef APSTUDIO_INVOKED
8 | #ifndef APSTUDIO_READONLY_SYMBOLS
9 | #define _APS_NEXT_RESOURCE_VALUE 101
10 | #define _APS_NEXT_COMMAND_VALUE 40001
11 | #define _APS_NEXT_CONTROL_VALUE 1001
12 | #define _APS_NEXT_SYMED_VALUE 101
13 | #endif
14 | #endif
15 |
--------------------------------------------------------------------------------
/CreateVersion/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // CreateVersion.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/CreateVersion/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #include
11 | #include
12 |
13 |
14 |
15 | // TODO: reference additional headers your program requires here
16 |
--------------------------------------------------------------------------------
/CreateVersion/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/CreateVersion/version.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/CreateVersion/version.rc
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Shaul Eizikovich
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Latest.php:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Performance1.psess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sampling
4 | None
5 | true
6 | Timestamp
7 | Cycles
8 | 10000000
9 | 10
10 | 10
11 |
12 | false
13 |
14 |
15 |
16 | false
17 |
18 |
19 | false
20 |
21 |
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vJoy
2 | Virtual Joystick
3 |
4 | This project supports Windows 7 to Windows 10 1803
5 |
6 | For newer versions of Windows go to Fork: https://github.com/jshafer817/vJoy
7 |
8 |
9 |
10 | For much more go to vJoy web site: http://vjoystick.sourceforge.net
11 |
12 | To build the project:
13 |
14 | 1. Pull the project
15 |
16 | 2. Run batch file BuildAll.bat
17 |
18 | Caution:
19 | You will need to install Visual Studio 2015 (Free)
20 | To build the entire project including the driver you need to install the SDK and puchase a license to sign drivers.
21 |
--------------------------------------------------------------------------------
/SDK/CreateSdk.bat:
--------------------------------------------------------------------------------
1 | REM Automate the creation of an SDK package
2 |
3 | REM C#
4 | COPY ..\X64\Release\vJoyInterface.dll ".\c#\x64\vJoyInterface.dll"
5 | COPY ..\X64\Release\vJoyInterfaceWrap.dll ".\c#\x64\vJoyInterfaceWrap.dll"
6 | COPY ..\Win32\Release\vJoyInterface.dll ".\c#\x86\vJoyInterface.dll"
7 | COPY ..\Win32\Release\vJoyInterfaceWrap.dll ".\c#\x86\vJoyInterfaceWrap.dll"
8 |
9 | REM Include Files
10 | COPY ..\Inc\public.h .\Inc\public.h
11 | COPY ..\apps\common\vJoyInterface\vjoyinterface.h .\Inc\vjoyinterface.h
12 |
13 | REM Library Files
14 | COPY ..\Win32\Release\vJoyInterface.dll .\LIB\vJoyInterface.dll
15 | COPY ..\Win32\Release\vJoyInterface.lib .\LIB\vJoyInterface.lib
16 | COPY ..\X64\Release\vJoyInterface.dll .\LIB\amd64\vJoyInterface.dll
17 | COPY ..\X64\Release\vJoyInterface.lib .\LIB\amd64\vJoyInterface.lib
18 |
--------------------------------------------------------------------------------
/SDK/ReadMe.odt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/ReadMe.odt
--------------------------------------------------------------------------------
/SDK/c#/FeederDemoCS/FeederDemoCS.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 10.00
3 | # Visual C# Express 2008
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeederDemoCS", "FeederDemoCS.csproj", "{CCA62E05-B035-49F6-A3B4-ACD21CD562E4}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {CCA62E05-B035-49F6-A3B4-ACD21CD562E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {CCA62E05-B035-49F6-A3B4-ACD21CD562E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {CCA62E05-B035-49F6-A3B4-ACD21CD562E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {CCA62E05-B035-49F6-A3B4-ACD21CD562E4}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/SDK/c#/FeederDemoCS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("FeederDemoCS")]
9 | [assembly: AssemblyDescription("C# Demo Feeder")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("FeederDemoCS")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("05b30ba2-93f6-465e-bc70-0e01acc9ea17")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("2.0.1.0")]
36 | [assembly: AssemblyFileVersion("2.0.1.0")]
37 |
--------------------------------------------------------------------------------
/SDK/c#/ReadMe.odt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/c#/ReadMe.odt
--------------------------------------------------------------------------------
/SDK/c#/x64/vJoyInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/c#/x64/vJoyInterface.dll
--------------------------------------------------------------------------------
/SDK/c#/x64/vJoyInterfaceWrap.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/c#/x64/vJoyInterfaceWrap.dll
--------------------------------------------------------------------------------
/SDK/c#/x86/vJoyInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/c#/x86/vJoyInterface.dll
--------------------------------------------------------------------------------
/SDK/c#/x86/vJoyInterfaceWrap.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/c#/x86/vJoyInterfaceWrap.dll
--------------------------------------------------------------------------------
/SDK/inc/vjoyinterface.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/inc/vjoyinterface.h
--------------------------------------------------------------------------------
/SDK/lib/amd64/vJoyInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/lib/amd64/vJoyInterface.dll
--------------------------------------------------------------------------------
/SDK/lib/amd64/vJoyInterface.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/lib/amd64/vJoyInterface.lib
--------------------------------------------------------------------------------
/SDK/lib/vJoyInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/lib/vJoyInterface.dll
--------------------------------------------------------------------------------
/SDK/lib/vJoyInterface.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/SDK/lib/vJoyInterface.lib
--------------------------------------------------------------------------------
/SDK/src/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include
9 | #include
10 |
11 | #include
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 |
19 |
20 |
21 | // TODO: reference additional headers your program requires here
22 |
--------------------------------------------------------------------------------
/SDK/src/vJoyClient.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 10.00
3 | # Visual C++ Express 2008
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vJoyClient", "vJoyClient.vcproj", "{A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Debug|x64 = Debug|x64
10 | Rel64|Win32 = Rel64|Win32
11 | Rel64|x64 = Rel64|x64
12 | Release|Win32 = Release|Win32
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Debug|Win32.ActiveCfg = Debug|Win32
17 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Debug|Win32.Build.0 = Debug|Win32
18 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Debug|x64.ActiveCfg = Debug|x64
19 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Debug|x64.Build.0 = Debug|x64
20 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Rel64|Win32.ActiveCfg = Rel64|Win32
21 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Rel64|Win32.Build.0 = Rel64|Win32
22 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Rel64|x64.ActiveCfg = Rel64|x64
23 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Rel64|x64.Build.0 = Rel64|x64
24 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Release|Win32.ActiveCfg = Release|Win32
25 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Release|Win32.Build.0 = Release|Win32
26 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Release|x64.ActiveCfg = Release|x64
27 | {A3C0D9FE-F4A3-45F9-874A-AC2E6806477C}.Release|x64.Build.0 = Release|x64
28 | EndGlobalSection
29 | GlobalSection(SolutionProperties) = preSolution
30 | HideSolutionNode = FALSE
31 | EndGlobalSection
32 | EndGlobal
33 |
--------------------------------------------------------------------------------
/apps/External/DLL/x64/mfc120u.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/mfc120u.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/msvcp110.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/msvcp110.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/msvcp120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/msvcp120.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/msvcr110.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/msvcr110.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/msvcr120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/msvcr120.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/vGenInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/vGenInterface.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x64/vJoyMonitor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x64/vJoyMonitor.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/mfc120u.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/mfc120u.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/msvcp110.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/msvcp110.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/msvcp120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/msvcp120.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/msvcr110.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/msvcr110.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/msvcr120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/msvcr120.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/vGenInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/vGenInterface.dll
--------------------------------------------------------------------------------
/apps/External/DLL/x86/vJoyMonitor.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/DLL/x86/vJoyMonitor.dll
--------------------------------------------------------------------------------
/apps/External/JoyMonitor/x64/JoyMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/JoyMonitor/x64/JoyMonitor.exe
--------------------------------------------------------------------------------
/apps/External/JoyMonitor/x86/JoyMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/External/JoyMonitor/x86/JoyMonitor.exe
--------------------------------------------------------------------------------
/apps/FfbMon/FfbMon.h:
--------------------------------------------------------------------------------
1 | #define DEV_ID 1
2 |
3 | // Prototypes
4 | void CALLBACK FfbFunction(PVOID data);
5 | void CALLBACK FfbFunction1(PVOID data,PVOID UserData);
6 |
7 | BOOL PacketType2Str(FFBPType Type, LPTSTR Str);
8 | BOOL EffectType2Str(FFBEType Ctrl, LPTSTR Str);
9 | BOOL DevCtrl2Str(FFB_CTRL Type, LPTSTR Str);
10 | BOOL EffectOpStr(FFBOP Op, LPTSTR Str);
11 | int Polar2Deg(BYTE Polar);
12 | int Byte2Percent(BYTE InByte);
13 | int TwosCompByte2Int(BYTE in);
14 | int TwosCompWord2Int(WORD in);
15 |
--------------------------------------------------------------------------------
/apps/FfbMon/FfbMon.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.31101.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FfbMon", "FfbMon.vcxproj", "{85615EB2-715E-4FD0-9E89-CAA685259640}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Win32 = Debug|Win32
11 | Debug|x64 = Debug|x64
12 | Release|Win32 = Release|Win32
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Debug|Win32.ActiveCfg = Debug|Win32
17 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Debug|Win32.Build.0 = Debug|Win32
18 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Debug|x64.ActiveCfg = Debug|x64
19 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Debug|x64.Build.0 = Debug|x64
20 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Release|Win32.ActiveCfg = Release|Win32
21 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Release|Win32.Build.0 = Release|Win32
22 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Release|x64.ActiveCfg = Release|x64
23 | {85615EB2-715E-4FD0-9E89-CAA685259640}.Release|x64.Build.0 = Release|x64
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/apps/FfbMon/bldFfbMon.bat:
--------------------------------------------------------------------------------
1 | echo on
2 | SET BUILDER=%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe
3 | if /I "%BUILD_ALT_DIR%" == "fre_wxp_x86" (goto :fre_wxp_x86)
4 | if /I "%BUILD_ALT_DIR%" == "chk_wxp_x86" (goto :chk_wxp_x86)
5 | if /I "%BUILD_ALT_DIR%" == "fre_wlh_amd64" (goto :fre_wlh_AMD64)
6 | if /I "%BUILD_ALT_DIR%" == "chk_wlh_amd64" (goto :chk_wlh_AMD64)
7 | goto :eof
8 |
9 |
10 |
11 | :fre_wxp_x86
12 | SET OUTDIR=objfre_wxp_x86\i386\
13 | mkdir %OUTDIR%
14 | "%BUILDER%" FfbMon.sln /t:rebuild /p:OutDir=%OUTDIR%;Platform=Win32;Configuration=Release
15 | goto :eof
16 |
17 | :chk_wxp_x86
18 | SET OUTDIR=objchk_wxp_x86\i386\
19 | mkdir %OUTDIR%
20 | "%BUILDER%" FfbMon.sln /t:rebuild /p:OutDir=%OUTDIR%;Platform=Win32;Configuration=Debug
21 | goto :eof
22 |
23 | :fre_wlh_AMD64
24 | SET OUTDIR=objfre_wlh_amd64\amd64\
25 | mkdir %OUTDIR%
26 | "%BUILDER%" FfbMon.sln /t:rebuild /p:OutDir=%OUTDIR%;Platform=x64;Configuration=Release
27 | goto :eof
28 |
29 | :chk_wlh_AMD64
30 | SET OUTDIR=objchk_wlh_amd64\amd64\
31 | mkdir %OUTDIR%
32 | "%BUILDER%" FfbMon.sln /t:rebuild /p:OutDir=%OUTDIR%;Platform=x64;Configuration=Debug
33 | goto :eof
34 |
35 |
36 | :eof
--------------------------------------------------------------------------------
/apps/FfbMon/makefile:
--------------------------------------------------------------------------------
1 | #
2 | # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
3 | # file to this component. This file merely indirects to the real make file
4 | # that is shared by all the driver components of the Windows NT DDK
5 | #
6 |
7 | !INCLUDE $(NTMAKEENV)\makefile.def
8 |
9 |
10 |
--------------------------------------------------------------------------------
/apps/FfbMon/makefile.inc:
--------------------------------------------------------------------------------
1 | # Create FfbMon.exe
2 | $(OBJ_PATH)\$O\$(TARGETNAME).exe:
3 | bldFfbMon.bat
4 |
5 |
--------------------------------------------------------------------------------
/apps/FfbMon/sources:
--------------------------------------------------------------------------------
1 | TARGETNAME=FfbMon
2 | TARGETTYPE=NOTARGET
3 | UMTYPE=console
4 |
5 | C_DEFINES= NO_LINK NO_COMPILE
6 |
7 | SOURCES=\
8 |
9 |
10 | NTTARGETFILE0= \
11 | $(OBJ_PATH)\$O\$(TARGETNAME).exe \
--------------------------------------------------------------------------------
/apps/FfbMon/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // FfbMon.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/apps/FfbMon/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #include
11 | #include
12 |
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
--------------------------------------------------------------------------------
/apps/FfbMon/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/apps/Monitor/DXUT/Core/dpiaware.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
--------------------------------------------------------------------------------
/apps/Monitor/DXUT/Optional/directx.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/DXUT/Optional/directx.ico
--------------------------------------------------------------------------------
/apps/Monitor/Joystick.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick.aps
--------------------------------------------------------------------------------
/apps/Monitor/Joystick.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick.cpp
--------------------------------------------------------------------------------
/apps/Monitor/Joystick.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick.gif
--------------------------------------------------------------------------------
/apps/Monitor/Joystick_2008.ncb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick_2008.ncb
--------------------------------------------------------------------------------
/apps/Monitor/Joystick_2008.sdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick_2008.sdf
--------------------------------------------------------------------------------
/apps/Monitor/Joystick_2008.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 10.00
2 | # Visual C++ Express 2008
3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Joystick", "Joystick_2008.vcproj", "{43E20DBD-F46C-467E-A2D0-73B3708C4B72}"
4 | EndProject
5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stub", "..\Stub\Stub.vcproj", "{F848E1DD-0135-4918-9AB7-A3B075E07C89}"
6 | EndProject
7 | Global
8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
9 | Debug|Win32 = Debug|Win32
10 | Debug|x64 = Debug|x64
11 | Profile|Win32 = Profile|Win32
12 | Profile|x64 = Profile|x64
13 | Release|Win32 = Release|Win32
14 | Release|x64 = Release|x64
15 | EndGlobalSection
16 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
17 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Debug|Win32.ActiveCfg = Debug|Win32
18 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Debug|Win32.Build.0 = Debug|Win32
19 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Debug|x64.ActiveCfg = Debug|x64
20 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Debug|x64.Build.0 = Debug|x64
21 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Profile|Win32.ActiveCfg = Profile|Win32
22 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Profile|Win32.Build.0 = Profile|Win32
23 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Profile|x64.ActiveCfg = Profile|x64
24 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Profile|x64.Build.0 = Profile|x64
25 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Release|Win32.ActiveCfg = Release|Win32
26 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Release|Win32.Build.0 = Release|Win32
27 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Release|x64.ActiveCfg = Release|x64
28 | {43E20DBD-F46C-467E-A2D0-73B3708C4B72}.Release|x64.Build.0 = Release|x64
29 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Debug|Win32.ActiveCfg = Debug|Win32
30 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Debug|Win32.Build.0 = Debug|Win32
31 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Debug|x64.ActiveCfg = Debug|Win32
32 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Profile|Win32.ActiveCfg = Release|Win32
33 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Profile|Win32.Build.0 = Release|Win32
34 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Profile|x64.ActiveCfg = Release|Win32
35 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Release|Win32.ActiveCfg = Release|Win32
36 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Release|Win32.Build.0 = Release|Win32
37 | {F848E1DD-0135-4918-9AB7-A3B075E07C89}.Release|x64.ActiveCfg = Release|Win32
38 | EndGlobalSection
39 | GlobalSection(SolutionProperties) = preSolution
40 | HideSolutionNode = FALSE
41 | EndGlobalSection
42 | EndGlobal
43 |
--------------------------------------------------------------------------------
/apps/Monitor/Joystick_2008.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shauleiz/vJoy/8111294ef89b25d35fa2617a62ce96d23275ab16/apps/Monitor/Joystick_2008.suo
--------------------------------------------------------------------------------
/apps/SignApps.bat:
--------------------------------------------------------------------------------
1 | REM Sign applications (if certification utility exists)
2 | IF NOT EXIST %USERPROFILE%\DESKTOP\DigiCertUtil.exe GOTO NOUTIL
3 | %USERPROFILE%\DESKTOP\DigiCertUtil.exe sign .\vJoyConf\objfre_wlh_amd64\amd64\vJoyConf.exe*.\vJoyConf\objfre_wxp_x86\i386\vJoyConf.exe*.\vJoyFeeder\objfre_wlh_amd64\amd64\vJoyFeeder.exe*.\vJoyFeeder\objfre_wxp_x86\i386\vJoyFeeder.exe*.\External\JoyMonitor\x86\JoyMonitor.exe*.\External\JoyMonitor\x64\JoyMonitor.exe
4 | :NOUTIL
--------------------------------------------------------------------------------
/apps/common/dirs:
--------------------------------------------------------------------------------
1 | DIRS= \
2 | vJoyInterface \
3 | vJoyInterfaceCS \
4 |
--------------------------------------------------------------------------------
/apps/common/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // vJoyInterface.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/apps/common/vJoyInterface/bldInterface.bat:
--------------------------------------------------------------------------------
1 | echo on
2 | SET BUILDER=%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe
3 | if /I "%BUILD_ALT_DIR%" == "fre_wxp_x86" (goto :fre_wxp_x86)
4 | if /I "%BUILD_ALT_DIR%" == "chk_wxp_x86" (goto :chk_wxp_x86)
5 | if /I "%BUILD_ALT_DIR%" == "fre_wlh_amd64" (goto :fre_wlh_AMD64)
6 | if /I "%BUILD_ALT_DIR%" == "chk_wlh_amd64" (goto :chk_wlh_AMD64)
7 | goto :eof
8 |
9 |
10 |
11 | :fre_wxp_x86
12 | SET OUTDIR=objfre_wxp_x86\i386\
13 | mkdir %OUTDIR%
14 | "%BUILDER%" vJoyInterface2012.vcxproj /t:rebuild /p:IntDir=%OUTDIR%;OutDir=%OUTDIR%;Platform=Win32;Configuration=Release
15 | goto :eof
16 |
17 | :chk_wxp_x86
18 | SET OUTDIR=objchk_wxp_x86\i386\
19 | mkdir %OUTDIR%
20 | "%BUILDER%" vJoyInterface2012.vcxproj /t:rebuild /p:IntDir=%OUTDIR%;OutDir=%OUTDIR%;Platform=Win32;Configuration=Debug
21 | goto :eof
22 |
23 | :fre_wlh_AMD64
24 | SET OUTDIR=objfre_wlh_amd64\amd64\
25 | mkdir %OUTDIR%
26 | "%BUILDER%" vJoyInterface2012.vcxproj /t:rebuild /p:IntDir=%OUTDIR%;OutDir=%OUTDIR%;Platform=x64;Configuration=Release
27 | goto :eof
28 |
29 | :chk_wlh_AMD64
30 | SET OUTDIR=objchk_wlh_amd64\amd64\
31 | mkdir %OUTDIR%
32 | "%BUILDER%" vJoyInterface2012.vcxproj /t:rebuild /p:IntDir=%OUTDIR%;OutDir=%OUTDIR%;Platform=x64;Configuration=Debug
33 | goto :eof
34 |
35 |
36 | :eof
--------------------------------------------------------------------------------
/apps/common/vJoyInterface/makefile:
--------------------------------------------------------------------------------
1 | #
2 | # DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
3 | # file to this component. This file merely indirects to the real make file
4 | # that is shared by all the driver components of the Windows NT DDK
5 | #
6 |
7 | !INCLUDE $(NTMAKEENV)\makefile.def
8 |
9 |
10 |
--------------------------------------------------------------------------------
/apps/common/vJoyInterface/makefile.inc:
--------------------------------------------------------------------------------
1 | # Create vJoyInterface.dll
2 | $(OBJ_PATH)\$O\$(TARGETNAME).dll $(OBJ_PATH)\$O\$(TARGETNAME).lib:
3 | bldInterface.bat
4 |
5 | # Copy vJoyInterface.h to inc
6 | $(INCLUDES)\$(TARGETNAME).h: $(TARGETNAME).h
7 | if not exist $(INCLUDES) mkdir $(INCLUDES)
8 | copy /y $(TARGETNAME).h $@
9 |
10 | # Copy vJoyInterface.lib to sub-directory of LIB folder
11 | $(LIB_DIR)\$(O)\$(TARGETNAME).lib: $(OBJ_PATH)\$O\$(TARGETNAME).lib
12 | if not exist $(LIB_DIR)\$(O) mkdir $(LIB_DIR)\$(O)
13 | copy /y $(OBJ_PATH)\$O\$(TARGETNAME).lib $@
14 |
15 | # Copy vJoyInterface.dll to sub-directory of LIB folder
16 | $(LIB_DIR)\$(O)\$(TARGETNAME).dll: $(OBJ_PATH)\$O\$(TARGETNAME).dll
17 | if not exist $(LIB_DIR)\$(O) mkdir $(LIB_DIR)\$(O)
18 | copy /y $(OBJ_PATH)\$O\$(TARGETNAME).dll $@
19 |
20 |
--------------------------------------------------------------------------------
/apps/common/vJoyInterface/sources:
--------------------------------------------------------------------------------
1 | TARGETNAME=vJoyInterface
2 | TARGETTYPE=NOTARGET
3 | UMTYPE=console
4 | UMBASE=0x400000
5 | UMENTRY=DllMain
6 |
7 | C_DEFINES= NO_LINK NO_COMPILE
8 |
9 | NTTARGETFILE0= \
10 | $(OBJ_PATH)\$O\$(TARGETNAME).dll \
11 |
12 | SOURCES=\
13 |
14 | INCLUDES=\
15 | ..\..\..\inc
16 |
17 | LIB_DIR=\
18 | ..\..\..\lib
19 |
20 | NTTARGETFILE2= \
21 | $(INCLUDES)\$(TARGETNAME).h \
22 | $(LIB_DIR)\$(O)\$(TARGETNAME).dll \
23 | $(LIB_DIR)\$(O)\$(TARGETNAME).lib \
24 |
25 |
26 |
--------------------------------------------------------------------------------
/apps/common/vJoyInterface/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #undef UNICODE
7 | #undef _UNICODE
8 |
9 | #pragma once
10 | #include "targetver.h"
11 |
12 | // #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
13 | // Windows Header Files:
14 | #include
15 | #include
16 | #include