[SOLVED] Keyboard mapper to touch screen

rhyne27

Reputable
Apr 17, 2017
6
0
4,510
Is their a software that can map keyboard to touch the screen? like a android emulator
example. if i click W it will touch or click like a mouse in designated coordinate.
I know about autohotkey, but just finding a good software
 
Solution
So what you want to happen is that when the mouse is at some screen coordinates (no matter how the mouse pointer got to those coordinates) you want to press the "W" key on the keyboard and execute an action that appears to the app or game as if there was a mouse click.

Correct?

So the required/desired emulation software, running in the background would be waiting for some keystroke, intercept that keystroke, and would instead simulate another action or event such as a mouse click.

Any such software will require you to do some configuration beforehand. What event to listen for and what event to execute once heard.

Likely doable in Python.

Should not take much of script to write a loop that "listens for" a "W" key press...

Ralston18

Titan
Moderator
Sort of a broad question; however, the answer is likely yes.

Details matter.

For example: what is the host hardware device? Hardware specs?

Start with the following google search:

"windows 10 touch screen android emulator"

Limit the search criteria to the last year or so.

Lots of results; Apply additional filters as you read and learn.

Then go from there with your questions.
 

Ralston18

Titan
Moderator
So what you want to happen is that when the mouse is at some screen coordinates (no matter how the mouse pointer got to those coordinates) you want to press the "W" key on the keyboard and execute an action that appears to the app or game as if there was a mouse click.

Correct?

So the required/desired emulation software, running in the background would be waiting for some keystroke, intercept that keystroke, and would instead simulate another action or event such as a mouse click.

Any such software will require you to do some configuration beforehand. What event to listen for and what event to execute once heard.

Likely doable in Python.

Should not take much of script to write a loop that "listens for" a "W" key press, discards that key press, and next provides a simulated mouse click.

However, that entire process could get cumbersome depending on the full set of requirements and application/game environment.

Just to provide a general sense of the process:

https://www.python-course.eu/tkinter_events_binds.php

Without knowing more about the overall environment or requirements not sure what else to suggest.
 
Solution