[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Right-click modifier



On Wed, Oct 15, 2003 at 05:43:10PM +1000, Stewart Smith wrote:
> On Wed, 2003-10-15 at 01:33, Carlos Perelló Marín wrote:
> > The showcode command is your friend (from a text terminal, outside X).
> 
> doesn't seem to be on my system, and apt-cache search shows up zip. What
> package does it come from?

Actually Carlos (hola desde Granada) probably meant showkey. But that's
still not always correct. For example the F13 to F15 keys on my Mac
keyboard return 85, 115 and 119. But these codes don't work if you
want to set the mouse button emulation to use them: the codes that
work are 85 (same yes), 89 and 90. 

These are input layer codes, which are most of the times but not
always the same as the Linux raw or medium raw keycodes (don't ask
me my opinion on that). The input layer keycodes can be found by typing:

od -td2 /dev/input/event1 

under root at a console (third column from right).

	Gabriel



Reply to: