Re: [XFree86] XTestFakeKeyEvent() and key repetition

2003-11-21 Thread Henrik Sandklef
Hi I am sorry the answer took so long! I've just compiled your code and I get a lot 1 keys pressed dusrng 5 seconds, so your code does the job... or do I miss something? It generates a key press and five seconds later a key release. Nothing more, nothing less. No repetition at all.

Re: [XFree86] XTestFakeKeyEvent() and key repetition

2003-11-21 Thread Henrik Sandklef
Hallo To begin with, I let some other dudes test the program and I got different reports... :) It repeated for some, but not for all. You don't happen to be running 4.3? That could be an explanation. I think this has nothing to do with the version you/they are running. Someone has set you

Re: [XFree86] XTestFakeKeyEvent() and key repetition

2003-11-20 Thread Christoffer Sawicki
I've just compiled your code and I get a lot 1 keys pressed dusrng 5 seconds, so your code does the job... or do I miss something? It generates a key press and five seconds later a key release. Nothing more, nothing less. No repetition at all. xev output: --8-- KeyPress event, serial 27,

[XFree86] XTestFakeKeyEvent() and key repetition

2003-11-19 Thread Christoffer Sawicki
Hello, I'm writing a program that turns joystick button presses and axis movements into X events via XTestFakeKeyEvent(). What I need to know is how to make the code snippet below act exactly like if I had held the 1 key (keycode 10) for 5 seconds. Any help appreciated. And yes, the code below