ghosteedd / hvdk

Unofficial C++ SDK and Python module for Tetherscript HID Virtual Drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UPDATE

Driver pack now discontinued by Tetherscript. If you want old installer, you can download it here.


Tetherscript HID Virtual Drivers SDK

It's unofficial C++ library and Python module for control Tetherscript HID Virtual Drivers. If you want use Tetherscript drivers, but don't want write routines on WDK, it's project for you. You can download drivers pack here (see drivers license here).

So, this project has working with:

  • Virtual mouse absolute (info)
  • Virtual mouse relative (info)
  • Virtual keyboard (info)

SDK for gamepad and joystick not created. Maybe I do it later, keep for updates.

How to use it in your project

Python

For Python version 3.7 - 3.10 (i386 and AMD64 builds) you can just download module archive from releases page and put the contents of the archive into sys.path directory. When import a module, it will automatically detect your version and architecture of Python, after which the necessary build of the module will be imported.

If you want use other Python version clone this repository, download WDK, WinSDK and boost library. Build boost for your Python version. Connect hid.lib, setupapi.lib and boost library into your project and build all codes from src and python-warp directories. Keys codes you can get from module archive on releases page (file: const.py).

C++

If your compiler is binary compatible with these build versions (MinGW 8.1 or MSVC v142), you can simply download them from the releases page and include them in your project.

In other cases, you will need to clone this repository and build code from src directory manually. For successful build needed hid.lib and setupapi.lib from WDK.

Features

For control virtual devices use next classes:

About

Unofficial C++ SDK and Python module for Tetherscript HID Virtual Drivers

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 80.5%Language:C 15.9%Language:QMake 3.6%