All of lore.kernel.org
 help / color / mirror / Atom feed
* Italian keyborad for ELKS
@ 2004-09-20 17:21 daniele giacomini
  2004-09-21 14:05 ` Miguel Bolanos
  0 siblings, 1 reply; 3+ messages in thread
From: daniele giacomini @ 2004-09-20 17:21 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: TEXT/PLAIN, Size: 423 bytes --]

Hello,
I enclose the code for the file keys-it.h, that is meant to be
an italian keyborad map. I used CP 437 encoding for accented letters
(in octal) and the description inside is Latin-1.

If this is not the right way to contribute a keyboard map, I ask you
to forgive me and to tell me what to do right.

Thank you for your attention. :-)

Saluti/Regards/Grüße, 
daniele giacomini - daniele (ad) swlibero.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: TEXT/x-chdr; name="keys-it.h", Size: 3594 bytes --]

/* Keymap:IT:Italian:Italy      */

#ifndef __KEYMAP_IT__
#define __KEYMAP_IT__

#if defined(CONFIG_KEYMAP_IT)

/*
    Italian keyboard

    2004.09.20  Daniele Giacomini, daniele@swlibero.org
                Added italian keyboard using CP 437 encoding.
                Numeric keypad is always active.
                Every key array has a descriptive map shown with ISO
                8859-1 encoding to explain key locations. Please note
                that "<" and ">" are made with [Ctrl]+[Alt]+[1] and
                [Ctrl]+[Alt]+[2], and there are more extentions, like
                the italian keyboard map used with GNU/Linux
*/

/*
    \ 1 2 3 4 5 6 7 8 9 0 ' ì
       q w e r t y u i o p è +
        a s d f g h j k l ò à ù
         z x c v b n m , . -
*/

static unsigned char xtkb_scan[] = {
  0,
  033,
  '1',  '2',  '3',  '4',  '5',  '6',  '7',  '8',  '9',  '0', '\'', 0215, '\b',
 '\t',  'q',  'w',  'e',  'r',  't',  'y',  'u',  'i',  'o',  'p', 0212,  '+',
  015,
 0202,  'a',  's',  'd',  'f',  'g',  'h',  'j',  'k',  'l', 0225, 0205,
 '\\',
 0200,
 0227,
  'z',  'x',  'c',  'v',  'b',  'n',  'm',  ',',  '.',  '-',
 0201,
  '*', 0203,  ' ', 0204,
 0241, 0242, 0243, 0244, 0245, 0246, 0247, 0250, 0251, 0252,
 0205,  '?',
  '7',  '8',  '9',
  '-',
  '4',  '5',  '6',
  '+',
  '1',  '2',  '3',
  '0',  '.'
};

/*
    | ! " £ $ % & / ( ) = ? ^
       Q W E R T Y U I O P é *
        A S D F G H J K L ç ° §
         Z X C V B N M ; : _
*/

static unsigned char xtkb_scan_shifted[] = {
    0,
  033,
  '!',  '"', 0234,  '$',  '%',  '&',  '/',  '(',  ')',  '=',  '?',  '^', '\b',
 '\t',  'Q',  'W',  'E',  'R',  'T',  'Y',  'U',  'I',  'O',  'P', 0202,  '*',
 '\r',
 0202,  'A',  'S',  'D',  'F',  'G',  'H',  'J',  'K',  'L', 0207, 0370,
  '|',
 0200,
  025,
  'Z',  'X',  'C',  'V',  'B',  'N',  'M',  ';',  ':',  '_',
 0201,
  '*', 0203,  ' ', 0204,
 0221, 0222, 0223, 0224, 0225, 0226, 0227, 0230, 0231, 0232,
 0204, 0213,
  '7',  '8',  '9',
  '-',
  '4',  '5',  '6',
  '+',
  '1',  '2',  '3',
  '0',  '.'
};

/*
    \ < > 3 4 5 6 { [ ] } ` ~
       q w e r t y u i o p [ ]
        a s d f g h j k l @ # ù
         « » c v b n m , . -
*/

static unsigned char xtkb_scan_ctrl_alt[] = {
    0,
  033,
  '<',  '>',  '3',  '4',  '5',  '6',  '{',  '[',  ']',  '}',  '`',  '~', '\b',
 '\t',  'q',  'w',  'e',  'r',  't',  'y',  'u',  'i',  'o',  'p',  '[',  ']',
 '\r',
 0202,  'a',  's',  'd',  'f',  'g',  'h',  'j',  'k',  'l',  '@',  '#',
 '\\',
 0200,
 0227,
 0256, 0257,  'c',  'v',  'b',  'n',  'm',  ',',  '.',  '-',
 0201,
  '*', 0203,  ' ', 0204,
 0241, 0242, 0243, 0244, 0245, 0246, 0247, 0250, 0251, 0252,
 0205,  '?',
  '7',  '8', '9',
  '-',
  '4',  '5', '6',
  '+',
  '1',  '2',  '3',
  '0',  '.'
};

/*
    \ 1 2 3 4 5 6 7 8 9 0 ' ì
       Q W E R T Y U I O P è +
        A S D F G H J K L ò à ù
         Z X C V B N M , . -
*/

static unsigned char xtkb_scan_caps[] = {
    0,
  033,
  '1',  '2',  '3',  '4',  '5',  '6',  '7',  '8',  '9',  '0', '\'', 0215, '\b',
 '\t',  'Q',  'W',  'E',  'R',  'T',  'Y',  'U',  'I',  'O',  'P', 0212,  '+',
 '\r',
 0202,  'A',  'S',  'D',  'F',  'G',  'H',  'J',  'K',  'L', 0225, 0205,
 '\\',
 0200,
 0227,
  'Z',  'X',  'C',  'V',  'B',  'N',  'M',  ',',  '.',  '-',
 0201,
  '*', 0203,  ' ', 0204,
 0221, 0222, 0223, 0224, 0225, 0226, 0227, 0230, 0231, 0232,
 0204, 0213,
  '7',  '8',  '9',
  '-',
  '4',  '5',  '6',
  '+',
  '1',  '2',  '3',
  '0',  '.'
};

#endif

#endif

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Italian keyborad for ELKS
  2004-09-20 17:21 Italian keyborad for ELKS daniele giacomini
@ 2004-09-21 14:05 ` Miguel Bolanos
  2004-09-22  7:15   ` daniele giacomini
  0 siblings, 1 reply; 3+ messages in thread
From: Miguel Bolanos @ 2004-09-21 14:05 UTC (permalink / raw)
  To: daniele giacomini; +Cc: linux-8086

Ciao Daniele,

On Mon, 2004-09-20 at 11:21, daniele giacomini wrote:
> Hello,
> I enclose the code for the file keys-it.h, that is meant to be
> an italian keyborad map. I used CP 437 encoding for accented letters
> (in octal) and the description inside is Latin-1.
> 

Very nice Work :)

> If this is not the right way to contribute a keyboard map, I ask you
> to forgive me and to tell me what to do right.
> 

Well in general i would say that either changes or new features are
always expected out of a diff rather getting the file itself, though in
this case it is OK, I have included your file BUT I made two little
things:

1. In the top of the file changed the Italian for Italiano 
/* Keymap:IT:Italiano:Italy      */

2. I re-organized the spaces and the lines, no real code change, just
cleaner structure changes :)

> Thank you for your attention. :-)
> 

Well thank you for the contribution, hope to keep reading you :)
please feel to join us at the ELKS irc channel at irc.freenode.net,
#elks

> Saluti/Regards/Grüße,

Saludos

Miguel

>  
> daniele giacomini - daniele (ad) swlibero.org

-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Italian keyborad for ELKS
  2004-09-21 14:05 ` Miguel Bolanos
@ 2004-09-22  7:15   ` daniele giacomini
  0 siblings, 0 replies; 3+ messages in thread
From: daniele giacomini @ 2004-09-22  7:15 UTC (permalink / raw)
  To: Miguel Bolanos; +Cc: linux-8086

Hello.

On Tue, 21 Sep 2004, Miguel Bolanos wrote:
[...]
MB> Very nice Work :)

Thank you.

[...]
MB> 1. In the top of the file changed the Italian for Italiano 
MB> /* Keymap:IT:Italiano:Italy      */

OK

MB> 2. I re-organized the spaces and the lines, no real code change, just
MB> cleaner structure changes :)

If you think it is better, ok; I just tried to get a visual
presentation similar (as possible) to the keys on the keyboard. :-)

In fact, I don't understood the functionality of keys like PageUp,
PageDn, and so on, so I have placed always number keys.

I think that there is a need for a "legenda" inside the keys source for
some obscure key value. As you have seen, I put at least the key layout
I used in a comment, before every array.

[...]
MB> Well thank you for the contribution, hope to keep reading you :)

I hope I will be able. At the moment I am trying to write some little
documentation in italian language about ELKS.

MB> please feel to join us at the ELKS irc channel at irc.freenode.net,
MB> #elks

:-)

A presto.

Saluti/Regards/Grüße, 
daniele giacomini - daniele (ad) swlibero.org



-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-22  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-20 17:21 Italian keyborad for ELKS daniele giacomini
2004-09-21 14:05 ` Miguel Bolanos
2004-09-22  7:15   ` daniele giacomini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.