From: Brad H. <bh...@bi...> - 2002-10-08 08:46:04
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Oct 2002 18:36, Vojtech Pavlik wrote: > Are you by any chance trying to do this on a USB keyboard? Bad luck, USB > keyboards don't have scancode->keycode tables. (at least not yet) Of course I'm trying it on a USB keyboard! Grrr. Thought I was reading the code all wrong.... > Try a normal PS/2 keyboard (or a Sun keyboard, or whatever). The keyboard has two cables. I'll give it a whirl. > > I guess EVIOCSKEYCODE just assignes the int[1] keycode to the int[0] > > scancode. I can't make that work until I understand the scancodes > > business more, I think. > > Yep. Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9opl/W6pHgIdAuOMRApetAJ4gU6z3Qgb33noftC/VsISGD/x8DACgnUuj y4vYJkNUw/ltr/TWz276w3E= =xhVW -----END PGP SIGNATURE----- |