All Projects → earthlion → SerialProxy

earthlion / SerialProxy

Licence: MIT License
🖱️⌨️ Arduino Input Proxying for PC (.NET Core)

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
C#
18002 projects

Projects that are alternatives of or similar to SerialProxy

Hidusbf
USB Mice Overclocking Software (for Windows)
Stars: ✭ 152 (+289.74%)
Mutual labels:  keyboard, usb, mouse
habits
An application to monitor your habits with your PC. So you can study how many kilometers travel with your mouse or how many keystrokes.
Stars: ✭ 19 (-51.28%)
Mutual labels:  keyboard, mouse
intuiter
Global productivity app for anyone who use Windows
Stars: ✭ 24 (-38.46%)
Mutual labels:  keyboard, mouse
rasp vusb
This repo explains how to turn your Raspberry Pi Zero into USB Keyboard and Mouse. Also provides sample code and binaries to control them.
Stars: ✭ 85 (+117.95%)
Mutual labels:  keyboard, mouse
pi400kb
Raw HID keyboard forwarder to turn the Pi 400 into a USB keyboard
Stars: ✭ 182 (+366.67%)
Mutual labels:  keyboard, usb
keyboard mouse emulate on raspberry
Bluetooth Keyboard Mouse Emulator on Raspberry Pi
Stars: ✭ 230 (+489.74%)
Mutual labels:  keyboard, mouse
creviceapp
Multi purpose utility which supports gestures with mouse and keyboard.
Stars: ✭ 22 (-43.59%)
Mutual labels:  keyboard, mouse
Rkvm
Virtual KVM switch for Linux machines
Stars: ✭ 237 (+507.69%)
Mutual labels:  keyboard, mouse
nucular-keyboard
USB Keyboard Adapter for old ThinkPad keyboards
Stars: ✭ 27 (-30.77%)
Mutual labels:  keyboard, usb
openinput
Open source firmware for input devices
Stars: ✭ 43 (+10.26%)
Mutual labels:  keyboard, mouse
Ayase
🥥 Control everything by keyboard. Built for hackers and the blind.
Stars: ✭ 53 (+35.9%)
Mutual labels:  keyboard, mouse
YetAnotherKeyDisplayer
The application for displaying pressed keys of the keyboard
Stars: ✭ 88 (+125.64%)
Mutual labels:  keyboard, mouse
iltms teensy lightsaber v1
This is the code to accompany the lightsaber project at http://www.iliketomakestuff.com/make-lightsaber/ Expected hardware is listed in post (Teensy 3.2, Prop Shield, DotStar LEDs)
Stars: ✭ 28 (-28.21%)
Mutual labels:  teensy, shield
snake
A stylised graphical tool for configuring and controlling Razer devices on Linux
Stars: ✭ 52 (+33.33%)
Mutual labels:  keyboard, mouse
Enigo
Cross platform input simulation in Rust
Stars: ✭ 254 (+551.28%)
Mutual labels:  keyboard, mouse
uchroma
An advanced driver for Razer Chroma hardware in Linux
Stars: ✭ 45 (+15.38%)
Mutual labels:  keyboard, mouse
hotscript
HotScript - Revolutionizing how Windows works.
Stars: ✭ 29 (-25.64%)
Mutual labels:  keyboard, mouse
Windows User Action Hook
A .NET library to subscribe for Windows operating system global user actions such mouse, keyboard, clipboard & print events
Stars: ✭ 224 (+474.36%)
Mutual labels:  keyboard, mouse
Xboxkeyboardmouse
Keyboard and mouse for Xbox One streaming on Windows 10
Stars: ✭ 235 (+502.56%)
Mutual labels:  keyboard, mouse
snackymini-keyboard
Snackymini Keyboard
Stars: ✭ 28 (-28.21%)
Mutual labels:  keyboard, teensy

SerialProxy

SerialProxy is a complete MiTM solution for modifying 🖱️ mouse & ⌨️ keyboard input against highly sophisticated FPS anti-cheats (ESEA/Faceit/Vanguard/...). This .NET Core package provides convenient access to the Teensy 4.1 interface to get/set proper input values over the provided USB Host Shield.

    --------------------                 --------------                    ------------
    | USB Mouse/Keyboard | --[USB HUB]-- | Teensy 4.1 | --[FAKE HID USB]-- | Computer |
    --------------------                 --------------                    ------------
                                               |                                | [Serial USB]
                                               |              -------------------------
                                               ---[SERIAL]--- | USB To SERIAL Adapter |
                                                              -------------------------

An optional second PC can be used to circumvent any memory analysis by any anticheat.

Features

  • Set Mouse Cursor Position (Relative X,Y)
  • Set Mouse Scroll (Relative Y)
  • Set Mouse Press/Release (Left, Right, Middle, Back, Forward)
  • Set Keyboard Press/Release (Keyboard Codes)
  • Get realtime Keyboard/Mouse Data (Being pressed on the real HID device)

Quickstart Guide

Preparation:

  1. Check this Tutorial in order to build your Arduino
  2. Override Arduino files (USB Mode Modification + Keyboard Interception)
  3. Select "Logitech USB Receiver" in Arduino IDE, Paste *.ino script, flash it
  4. Modify input signal using .NET Core Library
string serialPort = "COM3";

// Setup arduino mouse
DotNetSerialAdaptor serial = null;
try
{
    serial = new DotNetSerialAdaptor(serialPort);
    Console.Error.WriteLine($"Arduino connected successfully on port {serialPort}");
}
catch (Exception)
{
    Console.Error.WriteLine($"Cannot connect to port {serialPort}!");
    return;
}

Mouse = new SerialProxy.Mouse(serial);
Keyboard = new SerialProxy.Keyboard(serial);

// Modify fake mouse
Mouse.SetMousePos(0, -10);

Example codes

All methods can be found in Mouse.cs and Keyboard.cs, Testbench. If you have any questions, feel free to open an issue on Github.

Resources

🌎 Nuget
🕵️‍♂️ HID Fingerprinting

Credits

🧍 Me - API
🧍 mysnphit - Base

License

This project is released under MIT License. Please refer the LICENSE.txt for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].