Re: Keystroke flow in X.org

2009-06-14 Thread Peter Hutterer
On Sat, Jun 13, 2009 at 10:52:05AM +1000, Timothy S. Nelson wrote: On Fri, 12 Jun 2009, Peter Hutterer wrote: if the physical keyboard changes, the server sends out a keymap notify event and the cycle starts at 2 again. Hopefully, anyway, otherwise the amount of Is this if the keyboard

Re: Keystroke flow in X.org

2009-06-14 Thread Peter Hutterer
On Mon, Jun 15, 2009 at 09:05:57AM +1000, Peter Hutterer wrote: Here's the link again: http://computerstuff.jdarx.info/content/keystroke-flow-xorg I still think it's confusing at best. The diagram makes it appear as if the files were actually used on each keystroke, which certainly

Re: Keystroke flow in X.org

2009-06-12 Thread Peter Hutterer
On Fri, Jun 12, 2009 at 02:36:44PM +1000, Timothy S. Nelson wrote: Here's a rather mundane article with a good diagram that I just wrote. It should probably be linked to from http://www.x.org/wiki/XKB but since I don' tappear to have access to do that, I'm posting the link on the

Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Peter Hutterer wrote: On Fri, Jun 12, 2009 at 02:36:44PM +1000, Timothy S. Nelson wrote: Here's a rather mundane article with a good diagram that I just wrote. It should probably be linked to from http://www.x.org/wiki/XKB but since I don' tappear to have access to

Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Timothy S. Nelson wrote: So, here's my impression of how it works based on what you've just said. [snip] Yuck. Let me do some more reworking. - When a keystroke comes from the hardware, it gets picked up and sent to the client (ie.

Re: Keystroke flow in X.org

2009-06-12 Thread Peter Åstrand
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

Re: Keystroke flow in X.org

2009-06-12 Thread Peter Hutterer
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

Re: Keystroke flow in X.org

2009-06-12 Thread Peter Hutterer
On Fri, Jun 12, 2009 at 05:21:53PM +1000, Timothy S. Nelson wrote: On Fri, 12 Jun 2009, Timothy S. Nelson wrote: So, here's my impression of how it works based on what you've just said. [snip] Yuck. Let me do some more reworking. - When a keystroke comes from the

Re: Keystroke flow in X.org

2009-06-12 Thread Jim Gettys
Peter Hutterer wrote: On Fri, Jun 12, 2009 at 05:21:53PM +1000, Timothy S. Nelson wrote: On Fri, 12 Jun 2009, Timothy S. Nelson wrote: So, here's my impression of how it works based on what you've just said. [snip] Yuck. Let me do some more reworking. -When a keystroke

Re: Keystroke flow in X.org

2009-06-12 Thread Alan Coopersmith
Timothy S. Nelson wrote: It should probably be linked to from http://www.x.org/wiki/XKB but since I don' tappear to have access to do that, If you create an account on the wiki, you should be able to edit - accounts are required to cut down on spam/vandalism, but most pages are editable by

Re: Keystroke flow in X.org

2009-06-12 Thread Timothy S. Nelson
On Fri, 12 Jun 2009, Peter Hutterer wrote: yeah, close enough, except that in most cases xmodmap has little influence Ok. s/xmodmap/XKB/ if the physical keyboard changes, the server sends out a keymap notify event and the cycle starts at 2 again. Hopefully, anyway, otherwise the

Keystroke flow in X.org

2009-06-11 Thread Timothy S. Nelson
Here's a rather mundane article with a good diagram that I just wrote. It should probably be linked to from http://www.x.org/wiki/XKB but since I don' tappear to have access to do that, I'm posting the link on the mailing list instead.