Skip to content

A Python application that allows you to simulate touch events on Windows through keyboard input.

License

Notifications You must be signed in to change notification settings

zyf722/wintoucher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

WinToucher is still under development. The current version is a prototype and may contain bugs.

WinToucher

Powered by Win32 API and tkinter, WinToucher is a Python application that allows you to simulate touch events on Windows through keyboard input. It is useful for testing touch-based applications on Windows without the need for a physical touch screen.

Features

  • 📝 Mark touch points on the screen (when the overlay is shown)
    • Click blank space to create a new touch point
    • Double click touch point to check its detail
    • Drag touch point to move it
    • Right click touch point to unset its key binding or delete it (if it is not bound to any key)
  • 👇 Support actions of pressing and flicking
    • Press: Tap the touch point once
    • Flick: Drag the touch point to a certain direction and distance
  • 📃 Save and load touch points (dots) in JSON format
  • 👂 Global, togglable keyboard listener
  • 👻 Hide window to the system tray

Usage

This tool is managed using Poetry.

To install the dependencies, run:

poetry install

After that, you can run the application with:

poetry run wintoucher

To-do

  • Further modularize the code and decouple current __main__.py
  • Fix bugs with touch simulation when calling InjectTouchInput in some certain cases
  • Improve overlay GUI
  • Try to build with nuitka

License

MIT

About

A Python application that allows you to simulate touch events on Windows through keyboard input.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages