Keystroke flow in X.org

Peter Hutterer peter.hutterer at who-t.net
Fri Jun 12 05:12:03 PDT 2009


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



More information about the xorg mailing list