From 03c747598fcfb4bd5f0b7fc726168eb690ad832f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 16 Apr 1998 09:06:25 +0000 Subject: [PATCH] (it_keyboard): New variable, supports Italian keyboard. (keyboard_layout_list): Add Italian keyboard. --- src/msdos.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/msdos.c b/src/msdos.c index cde3949564f..fcbb4128b81 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -1225,6 +1225,23 @@ static struct dos_keyboard_map fr_keyboard = { " ~#{[|`\\^@]} Ï " }; +/* + * Italian keyboard support, country code 39. + * '<' 56:3c*0000 + * '>' 56:3e*0000 + * added also {,},` as, respectively, AltGr-8, AltGr-9, AltGr-' + * Donated by Stefano Brozzi + */ +static struct dos_keyboard_map it_keyboard = { +/* 0 1 2 3 4 5 */ +/* 0 123456789012345678901234567890123456789012345678901234 */ + "\\1234567890' qwertyuiopŠ+ asdfghjkl•…— zxcvbnm,.- ", +/* 01 23456789012345678901234567890123456789012345678901234 */ + "|!\"œ$%&/()=?^ QWERTYUIOP‚* ASDFGHJKL‡øõ ZXCVBNM;:_ ", +/* 0123456789012345678901234567890123456789012345678901234 */ + " {}~` [] @# " +}; + static struct dos_keyboard_map dk_keyboard = { /* 0 1 2 3 4 5 */ /* 0123456789012345678901234567890123456789012345678901234 */ @@ -1243,6 +1260,7 @@ static struct keyboard_layout_list { 1, &us_keyboard, 33, &fr_keyboard, + 39, &it_keyboard, 45, &dk_keyboard }; -- 2.39.2