Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-17 Thread Jirka Bohac
On Wed, Feb 16, 2005 at 10:49:58PM +0100, Andries Brouwer wrote: > On Wed, Feb 16, 2005 at 07:20:35PM +0100, Jirka Bohac wrote: > > For the time being I look only at the diacr for unicode part. > The fragment below looks like a strange kludge. > > > - if (diacr) > > - value =

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-17 Thread Jirka Bohac
On Wed, Feb 16, 2005 at 10:49:58PM +0100, Andries Brouwer wrote: On Wed, Feb 16, 2005 at 07:20:35PM +0100, Jirka Bohac wrote: For the time being I look only at the diacr for unicode part. The fragment below looks like a strange kludge. - if (diacr) - value = handle_diacr(vc,

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-16 Thread Andries Brouwer
On Wed, Feb 16, 2005 at 07:20:35PM +0100, Jirka Bohac wrote: > Now ... are there any more suggestions for any of the patches? For the time being I look only at the diacr for unicode part. The fragment below looks like a strange kludge. > - if (diacr) > - value = handle_diacr(vc,

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-16 Thread Andries Brouwer
On Wed, Feb 16, 2005 at 07:20:35PM +0100, Jirka Bohac wrote: Now ... are there any more suggestions for any of the patches? For the time being I look only at the diacr for unicode part. The fragment below looks like a strange kludge. - if (diacr) - value = handle_diacr(vc,

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-10 Thread Jirka Bohac
On Wed, Feb 09, 2005 at 09:03:30PM +0100, Andries Brouwer wrote: > On Wed, Feb 09, 2005 at 06:19:21PM +0100, Jirka Bohac wrote: > > > There are presently two ways around this, neither of them good enough > > 1) assigning one of the other modifier keysyms to the CapsLock key > >-- the LED

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-10 Thread Jirka Bohac
On Wed, Feb 09, 2005 at 09:03:30PM +0100, Andries Brouwer wrote: On Wed, Feb 09, 2005 at 06:19:21PM +0100, Jirka Bohac wrote: There are presently two ways around this, neither of them good enough 1) assigning one of the other modifier keysyms to the CapsLock key -- the LED will not

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 06:19:21PM +0100, Jirka Bohac wrote: > There are presently two ways around this, neither of them good enough > 1) assigning one of the other modifier keysyms to the CapsLock key >-- the LED will not work True. > But by adding two modifiers to almost every keyboard

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 05:55:00PM +0100, Vojtech Pavlik wrote: > On Wed, Feb 09, 2005 at 05:38:56PM +0100, Andries Brouwer wrote: >> On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: >> It seems very unlikely that you cannot handle Czech with all combinations of 8 keys

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Jirka Bohac
On Wed, Feb 09, 2005 at 04:27:40PM +0100, Andries Brouwer wrote: > On Wed, Feb 09, 2005 at 02:26:54PM +0100, Jirka Bohac wrote: > > Hi folks, > > > > find attached a patch that improves the keycode to keysym mapping in the > > kernel. The current system has its limits, not allowing to implement

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Vojtech Pavlik
On Wed, Feb 09, 2005 at 05:38:56PM +0100, Andries Brouwer wrote: > On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: > > > > It seems very unlikely that you cannot handle Czech with all > > > combinations of 8 keys pressed, and need 9. > > > > A czech keyboard has the letters

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: > > It seems very unlikely that you cannot handle Czech with all > > combinations of 8 keys pressed, and need 9. > > A czech keyboard has the letters 'escrzyaie' with accents on the number > row of keys. With a Shift, they are

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Vojtech Pavlik
On Wed, Feb 09, 2005 at 04:27:40PM +0100, Andries Brouwer wrote: > > The keycodes are mapped into keysyms using so-called keymaps. A keymap is > > an array (of 255 elements per default) of keysyms, and there is one such > > keymap for each modifier combination. There are 9 modifiers (such as Alt,

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 02:26:54PM +0100, Jirka Bohac wrote: > Hi folks, > > find attached a patch that improves the keycode to keysym mapping in the > kernel. The current system has its limits, not allowing to implement keyboard > maps that people in different countries are used to. This patch

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 02:26:54PM +0100, Jirka Bohac wrote: Hi folks, find attached a patch that improves the keycode to keysym mapping in the kernel. The current system has its limits, not allowing to implement keyboard maps that people in different countries are used to. This patch tries

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Vojtech Pavlik
On Wed, Feb 09, 2005 at 04:27:40PM +0100, Andries Brouwer wrote: The keycodes are mapped into keysyms using so-called keymaps. A keymap is an array (of 255 elements per default) of keysyms, and there is one such keymap for each modifier combination. There are 9 modifiers (such as Alt,

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: It seems very unlikely that you cannot handle Czech with all combinations of 8 keys pressed, and need 9. A czech keyboard has the letters 'escrzyaie' with accents on the number row of keys. With a Shift, they are supposed to

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Vojtech Pavlik
On Wed, Feb 09, 2005 at 05:38:56PM +0100, Andries Brouwer wrote: On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: It seems very unlikely that you cannot handle Czech with all combinations of 8 keys pressed, and need 9. A czech keyboard has the letters 'escrzyaie' with

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Jirka Bohac
On Wed, Feb 09, 2005 at 04:27:40PM +0100, Andries Brouwer wrote: On Wed, Feb 09, 2005 at 02:26:54PM +0100, Jirka Bohac wrote: Hi folks, find attached a patch that improves the keycode to keysym mapping in the kernel. The current system has its limits, not allowing to implement

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 05:55:00PM +0100, Vojtech Pavlik wrote: On Wed, Feb 09, 2005 at 05:38:56PM +0100, Andries Brouwer wrote: On Wed, Feb 09, 2005 at 05:03:45PM +0100, Vojtech Pavlik wrote: It seems very unlikely that you cannot handle Czech with all combinations of 8 keys pressed, and

Re: [rfc] keytables - the new keycode-keysym mapping

2005-02-09 Thread Andries Brouwer
On Wed, Feb 09, 2005 at 06:19:21PM +0100, Jirka Bohac wrote: There are presently two ways around this, neither of them good enough 1) assigning one of the other modifier keysyms to the CapsLock key -- the LED will not work True. But by adding two modifiers to almost every keyboard map,