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

Re: right click on powerbook

Leroy has just answered to my question

to obtain the keycode of a key:

go to a tty  (ctrl-alt-F1 if you are in X11)

$ showkey  (and press the key that you want obtain the keycode)

for example pressing the key "a"


(wait 10 seconds)

$ echo $((0x1e))
$ 30

the keycode of a is 30 for my keyboard.

I hope that hel you


Keywan Najafi Tonekaboni wrote:


Pim Snel wrote:

MaX wrote:
now edit /etc/default/mouseemu like this:
MID_CLICK="-middle 125 272"    # Command- click
RIGHT_CLICK="-right 29 272"    # Control-click
SCROLL="-scroll 56"            # Alt key + mouse move up and down
TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a

i tried to configure mouseemu. but i couldnt find out the keycode for my
mousebutton. i have a new (june 2005) ibook.

also there is a strange behavior of showkey. it just runs at root or via
sudo (maybe this is normal) and seems to "push down" the return button.
and if i switch to another application or window, this window behaviors
like i would push down the return button until showkeys timeout appears
and i push ctrl+c or return...

what is the difference between the keycodes from xev, showkey and
showkey in a console



______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es

Reply to: