Return "id" of pressed key

Erik Christiansen dvalin at internode.on.net
Mon Nov 24 01:56:08 UTC 2008


On Sat, Nov 15, 2008 at 08:38:04PM +0100, Magnus Olsson wrote:
> Hi all,
> I have just installed Ventrilo through Wine in Ubuntu 8.10.
> As most people I have a problem with that the push-to-talk key only 
> works with one of the Wine windows focused.
> To fix this I downloaded ventriloctrl that should fix these problems.
> When starting ventriloctrl it asks me to input the key id of the key I 
> want to use to talk.
> ventriloctrl gave a few tips on methods on getting this id but none 
> seems to work for me.
> So I thought why not ask here if anybody have an idea of how to get the 
> id of a certain key.

In X11, xev lists all events, including keypresses, within the test
window. Having never even seen wine running, I don't know if it's
compatible with this method.

Erik

-- 
A computer is like an air conditioner, it works poorly when you open Windows.





More information about the ubuntu-users mailing list