You are not logged in.

#1 2013-02-23 18:29:24

raxbg
Member
Registered: 2011-04-05
Posts: 91

[SOLVED] How to simulate keyboard presses?

Hi,
Do you know how I can simulate keyboard presses? I have seen people talking about sending the letters directly to /dev/kbd but what if I want to simulate arrow key press? Basicly I want to be able to simulate arrow keys and spacebar keydown event.

Last edited by raxbg (2013-02-23 19:11:39)

Offline

#2 2013-02-23 18:56:31

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: [SOLVED] How to simulate keyboard presses?

I never did something about simulating key presses before, but searching in Google I found this. Basically, you can use the packages xautomation and xte (from python or directly).

Best regards.

Last edited by AurosGamma (2013-02-23 18:57:14)

Offline

#3 2013-02-23 19:11:21

raxbg
Member
Registered: 2011-04-05
Posts: 91

Re: [SOLVED] How to simulate keyboard presses?

thanks xte should do the trick

Offline

Board footer

Powered by FluxBB