OK!
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"
0x1e
(wait 10 seconds)
$ echo $((0x1e))
$ 30
the keycode of a is 30 for my keyboard.
I hope that hel you
best,
MaX
Keywan Najafi Tonekaboni wrote:
Hi,
Pim Snel wrote:
http://lists.ubuntulinux.org/archives/ubuntu-users/2004-September/001638.html
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
keypress
-----------------------------------------------------------
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
Regards,
Keywan
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]