Skip to content

Map the key stroke into a touch so you have multi touch for wsa to work properly

License

Notifications You must be signed in to change notification settings

erertertet/Key2touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key2touch

A Windows utility for simulating touch events via custom keyboard mappings.

Features

  • Map keyboard keys to touch input at specified screen coordinates
  • Support single-key and multi-key combinations
  • Target a specific application window for touch injection
  • Command‑line interface with quickstart support

Getting started

2025-04-26.17-59-52.mp4
  1. download kt_shell.exe from releases
  2. put it into a prefered folder and double click it to start

Requirements

  • Windows 10 or later

Usage

Method 1

Download executable and use as described above

Method 2

  1. Prepare or edit a mapping file in the mappings/ directory
  2. Launch the shell interface:
    python kt_shell.py
  3. Available commands:
    • help : show help message
    • list : list mapping files
    • load : select a mapping file
    • create: create a new mapping file
    • start : start the mapper with chosen mapping and target app
    • qs : quickstart last used mapping
    • exit : quit the shell

Build from source code

git clone https://github.com/yourname/Key2touch.git
cd Key2touch
pip install -r requirements.txt
python -m nuitka --onefile --msvc=latest .\kt_shell.py

Notice: Compilation in other version of MSVC might end in malware prediction, by testing MSVC v143 result in normal form.

Mapping File Format (example)

# example.txt
a: (100, 200)       # Single key 'a'
(b,c): (150, 250)   # Combination 'b' + 'c'

Quickstart

Last used mapping and target are saved to quickstart.json.
Use the qs command to launch with saved settings.

Contributing

Contributions are welcome via issues and pull requests.

License

This project is licensed under the Apache License.

About

Map the key stroke into a touch so you have multi touch for wsa to work properly

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages