// $TOG: us /main/5 1998/02/10 13:45:06 kaleb $ // //Copyright 1996, 1998 The Open Group // //All Rights Reserved. // //The above copyright notice and this permission notice 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 OPEN GROUP 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. // //Except as contained in this notice, the name of The Open Group shall //not be used in advertising or otherwise to promote the sale, use or //other dealings in this Software without prior written authorization //from The Open Group. // // US/ASCII layout for a Type 4 Sun keyboard xkb_symbols "sun4" { include "us(basic)" // A few alphanumeric keys are different key { [ grave, asciitilde ], [ acute ] }; key { [ apostrophe, quotedbl ], [ acute ] }; key { [ Shift_R ] }; key { [ Alt_L ] }; key { [ Mode_switch ] }; key { [ Meta_L ] }; key { [ Meta_R ] }; key { [ Linefeed ] }; 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 ],[ F21 ] }; key { [ Break, Scroll_Lock ],[ F22 ] }; key { [ Pause ],[ F23 ] }; key { [ Delete ] }; key { [ Help ] }; // End "Editing" section, begin "Keypad" key { [ Num_Lock ] }; key { [ KP_Equal ], [ F24 ] }; 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 { Meta_L, Meta_R }; modifier_map Mod2 { Alt_L }; modifier_map Mod3 { Mode_switch }; modifier_map Mod4 { Num_Lock }; modifier_map Mod5 { F13, F18, F20 }; }; hidden partial function_keys xkb_symbols "broken_openlook_map" { key { [ F11 ], [ Cancel ] }; key { [ F12 ], [ Redo ] }; key { [ F13 ], [ SunProps ] }; key { [ F14 ], [ Undo ] }; key { [ F15 ], [ SunFront ] }; key { [ F16 ], [ SunCopy ] }; key { [ F17 ], [ SunOpen ] }; key { [ F18 ], [ SunPaste ] }; key { [ F19 ], [ Find ] }; key { [ F20 ], [ SunCut ] }; }; // US/ASCII layout for a Type 4 Sun keyboard w/ broken OpenLook keymap xkb_symbols "sun4ol" { override "sun/us(sun4)" include "sun/us(broken_openlook_map)" }; // US/ASCII layout for a Type 5 Sun keyboard xkb_symbols "sun5" { augment "us(basic)" // A alphanumeric keys are different key { [ grave, asciitilde ], [ acute ] }; key { [ apostrophe, quotedbl ], [ acute ] }; 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" 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 ] }; // 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 }; }; // US/ASCII layout for a Type 5 Sun keyboard w/ broken OpenLook keymap xkb_symbols "sun5ol" { override "sun/us(sun5)" include "sun/us(broken_openlook_map)" };