# From nosenzo@inrete.alpcom.it Fri Feb 24 12:29:04 1995
! Italian keymap
!
!
!  Note:
!   	Since the Italian keyboard lacks of some basic keys ( like the '{}'
!	parentheses  and the '`' grave ) and the most used keys like the
!	unix slash '/' are in the wrong position, I added some new keys
!	binding to the standard Italian keyboard. They are:
!	CHARACTER 		KEY
!	    `			AltGr-<'>
!	    /			<->
!	    -			AltGr-<->	
!	    {			AltGr-<8>
!	    }			AltGr-<9>
!	    ~			AltGr-<\>
!
! To use the Italian keyboard under X11 you must make the $HOME/.Xmodmap using
! the mk_modmap command found under /usr/lib/kbd/keymaps,
! and then insert the following lines in your /usr/lib/X11/Xconfig :
!
!	LeftAlt	Meta
!	RightAlt ModeShift
!
! Per utilizzare la tastiera Italiana sotto X11 e' necessario creare il file
! $HOME/.Xmodmap usando il comando mk_modmap presente nella dir :
! /usr/lib/kbd/keymaps ed inserire le seguenti linee nel
! file /usr/lib/X11/Xconfig ( penso vada bene qualunque posizione ) :
!
!	LeftAlt	Meta
!	RightAlt ModeShift
!
! Spero che questo mio file possa essere utile a qualcuno, se avete problemi
! non esitate a scrivermi . :-)
!
! If  you find some bugs, please mail me.
!
!
! 				Luca Nosenzo <nosenzo@inrete.alpcom.it>
!

keymaps 0-4,6,8-9,12
include "linux-with-alt-and-altgr"
strings as usual

keycode   1 = Escape           Escape
	alt     keycode   1 = Meta_Escape
keycode   2 = one              exclam
	alt     keycode   2 = Meta_one
	alt shift keycode 2 = Meta_exclam
keycode   3 = two              quotedbl
	control keycode   3 = nul
	alt     keycode   3 = Meta_two
keycode   4 = three            sterling
	control keycode   4 = Escape
	alt     keycode   4 = Meta_three
keycode   5 = four             dollar           dollar
	control keycode   5 = Control_backslash
	alt     keycode   5 = Meta_four
	alt shift keycode 5 = Meta_dollar
keycode   6 = five             percent
	control keycode   6 = Control_bracketright
	alt     keycode   6 = Meta_five
	alt shift keycode 6 = Meta_percent
keycode   7 = six              ampersand
	control keycode   7 = Control_asciicircum
	alt     keycode   7 = Meta_six
keycode   8 = seven            slash	bracketleft	 	
	control keycode   8 = Control_underscore
	alt     keycode   8 = Meta_seven
keycode   9 = eight            parenleft           braceleft
	control keycode   9 = Delete
	alt     keycode   9 = Meta_eight
	alt shift keycode 9 = Meta_braceleft
keycode  10 = nine             parenright          braceright
	alt     keycode  10 = Meta_nine
	alt shift keycode 10 = Meta_braceright
keycode  11 = zero             equal       bracketright	
	alt     keycode  11 = Meta_zero
keycode  12 = apostrophe   question      grave
	control keycode  12 = Control_underscore
	alt     keycode  12 = Meta_minus
keycode  13 = igrave asciicircum
	alt     keycode  13 = Meta_equal
	alt shift keycode 13 = Meta_asciicircum
keycode  14 = Delete           Delete
	alt     keycode  14 = Meta_Delete
keycode  15 = Tab              Meta_Tab
	alt     keycode  15 = Meta_Tab
keycode  16 = q                Q
	control keycode  16 = Control_q
	alt     keycode  16 = Meta_q
keycode  17 = w                W
	control keycode  17 = Control_w
	alt     keycode  17 = Meta_w
keycode  18 = e                E
	control keycode  18 = Control_e
	alt     keycode  18 = Meta_e
keycode  19 = r                R
	control keycode  19 = Control_r
	alt     keycode  19 = Meta_r
keycode  20 = t                T
	control keycode  20 = Control_t
	alt     keycode  20 = Meta_t
keycode  21 = y                Y
	control keycode  21 = Control_y
	alt     keycode  21 = Meta_y
keycode  22 = u                U
	control keycode  22 = Control_u
	alt     keycode  22 = Meta_u
keycode  23 = i                I
	control keycode  23 = Tab
	alt     keycode  23 = Meta_i
keycode  24 = o                O
	control keycode  24 = Control_o
	alt     keycode  24 = Meta_o
keycode  25 = p                P
	control keycode  25 = Control_p
	alt     keycode  25 = Meta_p
keycode  26 = egrave 	eacute	bracketleft      braceleft
	altgr   keycode 26 = bracketleft
	control keycode  26 = Escape
	alt     keycode  26 = Meta_bracketleft
keycode  27 = plus asterisk   bracketright    asciitilde
	altgr   keycode 27 = bracketright
	control keycode  27 = Control_bracketright
	alt     keycode  27 = Meta_bracketright
keycode  28 = Return
	alt     keycode  28 = Meta_Control_m
keycode  29 = Control
keycode  30 = a                A
	control keycode  30 = Control_a
	alt     keycode  30 = Meta_a
keycode  31 = s                S
	control keycode  31 = Control_s
	alt     keycode  31 = Meta_s
keycode  32 = d                D
	control keycode  32 = Control_d
	alt     keycode  32 = Meta_d
keycode  33 = f                F
	control keycode  33 = Control_f
	alt     keycode  33 = Meta_f
keycode  34 = g                G
	control keycode  34 = Control_g
	alt     keycode  34 = Meta_g
keycode  35 = h                H
	control keycode  35 = BackSpace
	alt     keycode  35 = Meta_h
keycode  36 = j                J
	control keycode  36 = Linefeed
	alt     keycode  36 = Meta_j
keycode  37 = k                K
	control keycode  37 = Control_k
	alt     keycode  37 = Meta_k
keycode  38 = l                L
	control keycode  38 = Control_l
	alt     keycode  38 = Meta_l
keycode  39 = 	ograve 	cent at
	alt     keycode  39 = Meta_semicolon
	alt shift keycode 39 = Meta_at
keycode  40 = agrave   grave  numbersign
	control keycode  40 = Control_g
	alt     keycode  40 = Meta_apostrophe
	altgr  keycode  40 = numbersign
	alt shift keycode 40 = Meta_numbersign
keycode  41 = backslash bar  asciitilde
	control keycode  41 = nul
	alt     keycode  41 = Meta_grave
	altgr   keycode  41 = asciitilde
	alt shift keycode 41 = Meta_bar
keycode  42 = Shift
keycode  43 =  ugrave	paragraph
	control keycode  43 = Control_backslash
	alt     keycode  43 = Meta_backslash
keycode  44 = z                Z
	control keycode  44 = Control_z
	alt     keycode  44 = Meta_z
keycode  45 = x                X
	control keycode  45 = Control_x
	alt     keycode  45 = Meta_x
keycode  46 = c                C
	control keycode  46 = Control_c
	alt     keycode  46 = Meta_c
keycode  47 = v                V
	control keycode  47 = Control_v
	alt     keycode  47 = Meta_v
keycode  48 = b                B
	control keycode  48 = Control_b
	alt     keycode  48 = Meta_b
keycode  49 = n                N
	control keycode  49 = Control_n
	alt     keycode  49 = Meta_n
keycode  50 = m                M
	control keycode  50 = Control_m
	alt     keycode  50 = Meta_m
keycode  51 = comma            semicolon
	alt     keycode  51 = Meta_comma
keycode  52 = period           colon
	alt     keycode  52 = Meta_period
keycode  53 = slash            underscore minus
	control keycode  53 = Delete
	alt     keycode  53 = Meta_slash
keycode  54 = Shift
keycode  56 = Alt
keycode  57 = space
	control keycode  57 = nul
	alt     keycode  57 = Meta_space
keycode  58 = Caps_Lock
keycode  86 = less             greater          bar
	alt     keycode  86 = Meta_less
	alt shift keycode 86 = Meta_greater
keycode  97 = Control
