PenCast is a remote pen and touch input emulator designed for Windows environments. It seamlessly integrates input from mobile devices, enabling users to control and interact with Windows applications as if they were using a physical pen or touch interface directly on their computer.
- Remote Pen & Touch Control: Control your Windows applications with precision pen and touch inputs from mobile devices.
- Windows API Integration: Utilizes the
InjectSyntheticPointerInput
andSendInput
functions fromwinuser.h
for accurate and responsive input emulation. - Mirror Networking Integration: Employs the Mirror Networking library for Unity to establish a reliable and efficient connection between client devices and the Windows host.
- Tested with Industry-Standard Applications: PenCast has been successfully tested with popular creative software like Photoshop, Krita, and Blender.
PenCast utilizes a client-server architecture. The mobile device acts as a client, sending input data to the Windows host (server) which then translates these inputs into synthetic pen and touch events using the Windows APIs. This allows users to control their desktop applications as if they were using a physical pen or touchscreen.
While Photoshop generally works seamlessly with PenCast when pen pressure is enabled, some applications may require specific settings for optimal functionality:
Krita:
- Open "Settings -> Configure Krita -> Tablet Settings".
- Set "Tablet Input API" to "Windows Ink".
Blender:
- Open "Edit -> Preferences -> Input".
- Set "Tablet API" to "Windows Ink".
- Download the Latest Build: From GitHub Releases.
- Install Unity Project: Clone or download this repository and open it in Unity.
- Unity: Game Engine
- Mirror Networking: Networking Library
- Winuser.h: Windows API for input emulation
This project is licensed under the MIT License - see the LICENSE.md file for details.
For any inquiries or feedback, feel free to open an issue or contact me at muutax@hotmail.com.