From 9370f043060a1d08bb51484a58c52db85a4ea656 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 28 Feb 2010 20:02:05 +0000 Subject: Git update xkeyboard-config 28-2-2010 --- xorg-server/xkbdata.src/symbols/sun_vndr/se | 355 ++++++++++++++++++++++------ 1 file changed, 280 insertions(+), 75 deletions(-) (limited to 'xorg-server/xkbdata.src/symbols/sun_vndr/se') diff --git a/xorg-server/xkbdata.src/symbols/sun_vndr/se b/xorg-server/xkbdata.src/symbols/sun_vndr/se index 3daf12525..ec41629cb 100644 --- a/xorg-server/xkbdata.src/symbols/sun_vndr/se +++ b/xorg-server/xkbdata.src/symbols/sun_vndr/se @@ -1,75 +1,280 @@ -// $XdotOrg: $ -// -// Copyright 2004 Sun Microsystems, Inc. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the "Software"), -// to deal in the Software without restriction, including without limitation -// the rights to use, copy, modify, merge, publish, distribute, sublicense, -// and/or sell copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice (including the next -// paragraph) shall be included in all copies or substantial portions of the -// Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -// DEALINGS IN THE SOFTWARE. -// -xkb_symbols "type4" { - key { [ section, onehalf ] }; - key { [ asciitilde, asciicircum ] }; - key { [ 2, quotedbl ], [ at ] }; - key { [ 3, numbersign ], [ sterling ] }; - key { [ 4, currency ], [ dollar ] }; - key { [ 5, percent ], [ degree ] }; - key { [ 6, ampersand ], [ notsign ] }; - key { [ 7, slash ], [ braceleft ] }; - key { [ 8, parenleft ], [ bracketleft ]}; - key { [ 9, parenright ], [ bracketright ] }; - key { [ 0, equal ], [ braceright ] }; - key { [ plus, question ], [ backslash ] }; - key { [ SunFA_Acute, SunFA_Grave ] }; - - key { [ e, E ], [ EuroSign ] }; - key { [ Aring ] }; - key { [ SunFA_Diaeresis, SunFA_Circum ], [ SunFA_Tilde ] }; - - key { [ Odiaeresis ] }; - key { [ Adiaeresis ] }; - key { [ quoteright, asterisk ], [ quoteleft ]}; - - key { [ Caps_Lock ] }; - key { [ Control_L ] }; - key { [ less, greater ] }; - key { [ comma, semicolon ] }; - key { [ period, colon ] }; - key { [ minus, underscore ] }; -}; - - -xkb_symbols "type5" { - include "se" - - key { [ section, onehalf ] }; - key { [ 7, slash ], [ braceleft ] }; - key { [ 8, parenleft ], [ bracketleft ]}; - key { [ 9, parenright ], [ bracketright ] }; - key { [ 0, equal ], [ braceright ] }; - key { [ plus, question ], [ backslash ] }; - - key { [ SunFA_Diaeresis, asciicircum ], [ asciitilde ] }; - key { [ quoteright, asterisk ], [ quoteleft ]}; -}; - -partial -xkb_symbols "type6" { - include "se(Sundeadkeys)" - - key { [ SunFA_Diaeresis, asciicircum ], [ asciitilde, caron ] }; -}; +// +// Copyright 2010 Sun Microsystems, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, and/or sell copies of the Software, and to permit persons +// to whom the Software is furnished to do so, provided that the above +// copyright notice(s) and this permission notice appear in all copies of +// the Software and that both the above copyright notice(s) and this +// permission notice appear in supporting documentation. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL +// INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING +// FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +// +// Except as contained in this notice, the name of a copyright holder +// shall not be used in advertising or otherwise to promote the sale, use +// or other dealings in this Software without prior written authorization +// of the copyright holder. +// + +// +// CDDL HEADER START +// +// The contents of this file are subject to the terms of the +// Common Development and Distribution License (the "License"). +// You may not use this file except in compliance with the License. +// +// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE +// or http://www.opensolaris.org/os/licensing. +// See the License for the specific language governing permissions +// and limitations under the License. +// +// When distributing Covered Code, include this CDDL HEADER in each +// file and include the License file at src/OPENSOLARIS.LICENSE. +// If applicable, add the following below this CDDL HEADER, with the +// fields enclosed by brackets "[]" replaced with your own identifying +// information: Portions Copyright [yyyy] [name of copyright owner] +// +// CDDL HEADER END +// + +partial alphanumeric_keys +xkb_symbols "type6" { + + name[Group1]="Sweden"; + + key { [ section, onehalf ] }; + key { [ less, greater, bar ] }; + key { [ 2, quotedbl, at ] }; + key { [ 3, numbersign, sterling ] }; + key { [ 4, currency, dollar ] }; + key { [ 6, ampersand ] }; + key { [ 7, slash, braceleft ] }; + key { [ 8, parenleft, bracketleft ] }; + key { [ 9, parenright, bracketright ] }; + key { [ 0, equal, braceright ] }; + key { [ plus, question, backslash ] }; + key { [ dead_acute, dead_grave ] }; + key { [ e, E, EuroSign ] }; + key { [ aring, Aring ] }; + key { [ dead_diaeresis, asciicircum, asciitilde ] }; + key { [ odiaeresis, Odiaeresis ] }; + key { [ adiaeresis, Adiaeresis ] }; + key { [ apostrophe, asterisk, grave ] }; + key { [ comma, semicolon ] }; + key { [ period, colon ] }; + key { [ minus, underscore ] }; + + include "level3(ralt_switch)" + include "kpdl(comma)" + +}; + +// Swedish layout for a Type 5/5c Sun keyboard +xkb_symbols "type5" { + include "sun_vndr/us(type5)+se(basic)" + + // Begin alphanumeric section + // These two are not supposed to be dead. + // A few others supposedly ARE dead, but don't care for now. + key { [ apostrophe, asterisk ], [ grave ] }; + key { [ ], [ asciitilde ] }; + + key { [ Shift_R ] }; + + key { [ Alt_L ] }; + key { [ Mode_switch ] }; + key { [ Meta_L ] }; + key { [ Meta_R ] }; + key { [ Multi_key ] }; + // End alphanumeric section + + // Begin "Function" section + key { [ F1 ] }; + key { [ F2 ] }; + key { [ F3 ] }; + key { [ F4 ] }; + key { [ F5 ] }; + key { [ F6 ] }; + key { [ F7 ] }; + key { [ F8 ] }; + key { [ F9 ] }; + key { [ F10 ] }; + key { [ F11 ], [ SunF36] }; + key { [ F12 ], [ SunF37] }; + key { [ Cancel ], [ F11 ] }; + key { [ Redo ], [ F12 ] }; + key { [ SunProps ], [ F13 ] }; + key { [ Undo ], [ F14 ] }; + key { [ SunFront ], [ F15 ] }; + key { [ SunCopy ], [ F16 ] }; + key { [ SunOpen ], [ F17 ] }; + key { [ SunPaste ], [ F18 ] }; + key { [ Find ], [ F19 ] }; + key { [ SunCut ], [ F20 ] }; + // End "Function" section + + // Begin "Editing" section + key { [ Print ], [ Sys_Req, SunSys_Req ] }; + key { [ Scroll_Lock ] }; + key { [ Pause ], [ Break ] }; + key { [ Left ] }; + key { [ Right ] }; + key { [ Up ] }; + key { [ Down ] }; + + key { [ Delete ] }; + key { [ Insert ] }; + key { [ Prior ] }; + key { [ Next ] }; + key { [ Home ] }; + key { [ End ] }; + key { [ Help ] }; + // End "Editing" section + + // Begin "Keypad" section + key { [ Num_Lock ] }; + key { [ KP_Divide ], [ F25 ] }; + key { [ KP_Multiply ], [ F26 ] }; + key { [ KP_Subtract ] }; + + key { [ KP_Home, KP_7 ], [ F27 ] }; + key { [ KP_Up, KP_8 ], [ F28 ] }; + key { [ KP_Prior, KP_9 ], [ F29 ] }; + key { [ KP_Add ] }; + + key { [ KP_Left, KP_4 ], [ F30 ] }; + key { [ KP_Begin, KP_5 ], [ F31 ] }; + key { [ KP_Right, KP_6 ], [ F32 ] }; + + key { [ KP_End, KP_1 ], [ F33 ] }; + key { [ KP_Down, KP_2 ], [ F34 ] }; + key { [ KP_Next, KP_3 ], [ F35 ] }; + key { [ KP_Enter ] }; + + key { [ KP_Insert, KP_0 ] }; + key { [ KP_Delete, KP_Decimal ] }; + // End "Keypad" section, + + // Begin "four keys up on the right" + key { [ SunAudioMute, SunVideoDegauss ] }; + key { [ SunAudioLowerVolume,SunVideoLowerBrightness ] }; + key { [ SunAudioRaiseVolume,SunVideoRaiseBrightness ] }; + key { [ SunPowerSwitch, SunPowerSwitchShift ] }; + // End "four keys up on the right" + + // Begin modifier mappings + modifier_map Shift { Shift_R }; + modifier_map Mod1 { Meta_L, Meta_R }; + modifier_map Mod2 { Num_Lock }; + modifier_map Mod3 { Mode_switch }; + modifier_map Mod4 { Alt_L }; + // End modifier mappings +}; + +// Swedish layout for a Type 4 Sun keyboard +xkb_symbols "type4" { + include "sun_vndr/us(type4basic)+se(basic)" + + // Begin alphanumeric section + // These two are not supposed to be dead. + // A few others supposedly ARE dead, but don't care for now. + key { [ apostrophe, asterisk ], [ grave ] }; + key { [ ], [ asciitilde ] }; + + key { [ asciitilde, asciicircum ] }; + + key { [ Shift_R ] }; + + key { [ Alt_L ] }; + key { [ Mode_switch ] }; + key { [ Meta_L ] }; + key { [ Meta_R ] }; + key { [ Multi_key ] }; + // End alphanumeric section + + // Begin "Function" section + key { [ F1 ] }; + key { [ F2 ] }; + key { [ F3 ] }; + key { [ F4 ] }; + key { [ F5 ] }; + key { [ F6 ] }; + key { [ F7 ] }; + key { [ F8 ] }; + key { [ F9 ] }; + key { [ F10 ] }; + key { [ F11 ], [ SunF36] }; + key { [ F12 ], [ SunF37] }; + key { [ Cancel ], [ F11 ] }; + key { [ Redo ], [ F12 ] }; + key { [ SunProps ], [ F13 ] }; + key { [ Undo ], [ F14 ] }; + key { [ SunFront ], [ F15 ] }; + key { [ SunCopy ], [ F16 ] }; + key { [ SunOpen ], [ F17 ] }; + key { [ SunPaste ], [ F18 ] }; + key { [ Find ], [ F19 ] }; + key { [ SunCut ], [ F20 ] }; + // End "Function" section + + // Begin "Editing" section + key { [ Linefeed ] }; + key { [ Delete ] }; + key { [ Print ], [ Sys_Req, SunSys_Req ] }; + key { [ Scroll_Lock ] }; + key { [ Pause ], [ Break ] }; + key { [ Help ] }; + // End "Editing" section + + // Begin "Keypad" section + key { [ Num_Lock ] }; + key { [ KP_Equal ] }; + key { [ KP_Divide ], [ F25 ] }; + key { [ KP_Multiply ], [ F26 ] }; + key { [ KP_Subtract ] }; + + key { [ KP_Home, KP_7 ], [ F27 ] }; + key { [ KP_Up, KP_8 ], [ F28 ] }; + key { [ KP_Prior, KP_9 ], [ F29 ] }; + key { [ KP_Add ] }; + + key { [ KP_Left, KP_4 ], [ F30 ] }; + key { [ KP_Begin, KP_5 ], [ F31 ] }; + key { [ KP_Right, KP_6 ], [ F32 ] }; + + key { [ KP_End, KP_1 ], [ F33 ] }; + key { [ KP_Down, KP_2 ], [ F34 ] }; + key { [ KP_Next, KP_3 ], [ F35 ] }; + key { [ KP_Enter ] }; + + key { [ KP_Insert, KP_0 ] }; + key { [ KP_Delete, KP_Decimal ] }; + // End "Keypad" section, + + // Begin modifier mappings + modifier_map Shift { Shift_R }; + modifier_map Mod1 { Alt_L }; + modifier_map Mod2 { Num_Lock }; + modifier_map Mod3 { Mode_switch }; + modifier_map Mod4 { Meta_L }; + modifier_map Mod5 { Meta_R }; + // End modifier mappings +}; + + +partial default alphanumeric_keys + xkb_symbols "basic" { + include "sun_vndr/se(type6)" +}; + -- cgit v1.2.3