Home | History | Annotate | Line # | Download | only in sun_vndr
pt revision 1.1
      1 // $XdotOrg: $
      2 //
      3 // Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
      4 //
      5 // Permission is hereby granted, free of charge, to any person obtaining a
      6 // copy of this software and associated documentation files (the
      7 // "Software"), to deal in the Software without restriction, including
      8 // without limitation the rights to use, copy, modify, merge, publish,
      9 // distribute, and/or sell copies of the Software, and to permit persons
     10 // to whom the Software is furnished to do so, provided that the above
     11 // copyright notice(s) and this permission notice appear in all copies of
     12 // the Software and that both the above copyright notice(s) and this
     13 // permission notice appear in supporting documentation.
     14 // 
     15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     16 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     17 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
     18 // OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
     19 // HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
     20 // INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
     21 // FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
     22 // NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
     23 // WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     24 // 
     25 // Except as contained in this notice, the name of a copyright holder
     26 // shall not be used in advertising or otherwise to promote the sale, use
     27 // or other dealings in this Software without prior written authorization
     28 // of the copyright holder.
     29 //
     30 xkb_symbols "type4" {
     31     //this is a Portugal4 keyboard
     32 
     33     key <BKSL> { [ bracketleft, braceleft], [guillemotleft]	};
     34     key <BRCR> { [ bracketright, braceright], [guillemotright]	};
     35     key <AE02> { [ 2, quotedbl		], [at		]	};
     36     key <AE03> { [ 3, numbersign	], [sterling	]	};
     37     key <AE04> { [ 4, dollar		], [section	]	};
     38     key <AE06> { [ 6, ampersand		], [notsign	]	};
     39     key <AE07> { [ 7, slash		]			};
     40     key <AE08> { [ 8, parenleft		]			};
     41     key <AE09> { [ 9, parenright	], [backslash	]	};
     42     key <AE10> { [ 0, equal		], [bar		]	};
     43     key <AE11> { [ quoteright, question	], [quoteleft	]	};
     44     key <AE12> { [ exclamdown, questiondown]			};
     45     key <AD03> { [ e, E			], [EuroSign	]	};
     46     key <AD11> { [ SunFA_Diaeresis, asterisk], [plus	]	};
     47     key <AD12> { [ SunFA_Acute, SunFA_Grave], [asciitilde]	};
     48     key <LCTL> { [ Caps_Lock		]			};
     49     key <AC10> { [ Ccedilla		]			};
     50     key <AC11> { [ masculine, ordfeminine]			};
     51     key <TLDE> { [ SunFA_Tilde, SunFA_Circum], [asciicircum]	};
     52     key <LSGT> { [ less, greater	]			};
     53     key <AB08> { [ comma, semicolon	]			};
     54     key <AB09> { [ period, colon	]			};
     55     key <AB10> { [ minus, underscore	]			};
     56     key <CAPS> { [ Control_L		]			};
     57 
     58 };
     59 
     60 xkb_symbols "type5" {
     61     include "pt"
     62 
     63     key <TLDE> { [ backslash, bar	]				};
     64     key <AE05> { [ 5, percent		], [asciitilde			]};
     65     key <AE06> { [ 6, ampersand		], [asciicircum			]};
     66     key <AE07> { [ 7, slash		], [ braceleft			]};
     67     key <AE08> { [ 8, parenleft		], [ bracketleft		]};
     68     key <AE09> { [ 9, parenright	], [ bracketright		]};
     69     key <AE10> { [ 0, equal		], [ braceright			]};
     70     key <AE11> { [ quoteright, question	], [quoteleft			]};
     71 
     72     key <AD11> { [ plus, asterisk	], [SunFA_Diaeresis		]};
     73 
     74 };
     75 
     76 partial 
     77 xkb_symbols "type6" {
     78     include "pt(sundeadkeys)"
     79 
     80     key <AE05> { [ 5, percent		], [asciitilde			]};
     81     key <AE06> { [ 6, ampersand		], [asciicircum			]};
     82     key <AE07> { [ 7, slash		], [ braceleft			]};
     83     key <AE08> { [ 8, parenleft		], [ bracketleft		]};
     84     key <AE09> { [ 9, parenright	], [ bracketright		]};
     85     key <AE10> { [ 0, equal		], [ braceright			]};
     86     key <AE11> { [ quoteright, question	], [quoteleft			]};
     87 
     88 };
     89