This project is USB bridge of debauchee/barrier.
USB data transfer cable required.
Which enables communication between USB hosts.
Cable also need to provide libusb as API.
This one was tested with cable using Prolific PL2701 chipset.
- libusb
barrier_usb_gate needs libusb to use USB transfer.
Static library file (libusb-1.0.lib) is in (projRoot)/libusb/.
- Install Microsoft Visual Studio
Program uses Windows API (winsock2).
So it would be much convinient for you to use msvc as builder.
Visual Studio 2019 is recommended. - Open solution file (barrier_usb_gate.sln) then BUILD
Build output directory will be seen at root directory.
- Run barrier server and client
Client process must target localhost IP 127.0.0.1 - Run barrier_usb_gate on both PC
Process will set connection with barrier process.
Server / Client process of barrier = barriers.exe / barrierc.exe. - Press Ctrl+C to end process
Log message will be printed if process ends properly.