On Fri, Jun 12, 2009 at 10:41:59AM +0200, Peter Åstrand wrote: > On Fri, 12 Jun 2009, Peter Hutterer wrote: > >> - scancodes == keycodes > > Well, might not be exactly true, depending on what kind of scancodes you > are talking about. For example, the F1 key, according to the Microsoft > Keyboard Scan Code Specification, is listed as "key 112", with a "scan 1 > make" value of 59. This value is also used, for example, over the RDP > protocol. But in a X11 context, say when viewing the keycode using "xev", > the keycode is 67, ie keycode is scancode plus 8.
yeah, sorry. I forgot about that. Due to some core protocol limitation the X keycode is 'actual keycode + 8'. Cheers, Peter _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg