//
// 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 default alphanumeric_keys 
xkb_symbols "type6" {

    name[Group1]= "Arabic";

    key <TLDE> {  [   Arabic_thal,      Arabic_shadda, grave,    asciitilde   ]	};
    key <AE01> {  [               1,          exclam, 1,          exclam      ] };
    key <AE02> {  [               2,              at, 2,              at      ] };
    key <AE03> {  [               3,      numbersign, 3,      numbersign      ] };
    key <AE04> {  [               4,          dollar, 4,          dollar      ] };
    key <AE05> {  [               5,         percent, 5,         percent      ] };
    key <AE06> {  [               6,     asciicircum, 6,     asciicircum      ] };
    key <AE07> {  [               7,       ampersand, 7,       ampersand      ] };
    key <AE08> {  [               8,        asterisk, 8,        asterisk      ] };
    key <AE09> {  [               9,      parenright, 9,      parenright      ] };
    key <AE10> {  [               0,       parenleft, 0,       parenleft      ] };
    key <AE11> {  [       minus,      underscore, minus,      underscore      ] };
    key <AE12> {  [       equal,            plus, equal,            plus      ] };
						
    key <AD01> {  [      Arabic_dad,     Arabic_fatha, q,    Q     ]     };
    key <AD02> {  [      Arabic_sad,     Arabic_fathatan, w,    W  ]     };
    key <AD03> {  [     Arabic_theh,     Arabic_damma, e,    E     ]     };
    key <AD04> {  [      Arabic_qaf,     Arabic_dammatan, r,    R  ]     };
    key <AD05> {  [      Arabic_feh,     0x100fef9, t,    T        ]     };
    key <AD06> {  [   Arabic_ghain, Arabic_hamzaunderalef, y,    Y ]     };
    key <AD07> {  [      Arabic_ain,         grave, u,    U        ]     };
    key <AD08> {  [       Arabic_ha,        division, i,    I      ]     };
    key <AD09> {  [     Arabic_khah,       multiply, o,    O       ]     };
    key <AD10> {  [      Arabic_hah,   Arabic_semicolon, p,    P  ]     };
    key <AD11> {  [     Arabic_jeem,        greater, bracketleft,  braceleft       ]     };
    key <AD12> {  [      Arabic_dal,        less,    bracketright, braceright      ]     };

    key <AC01> {  [    Arabic_sheen,   Arabic_kasra, a,    A       ]     };
    key <AC02> {  [     Arabic_seen,   Arabic_kasratan, s,    S    ]     };
    key <AC03> {  [      Arabic_yeh,       bracketright, d,    D   ]     };
    key <AC04> {  [      Arabic_beh,       bracketleft, f,    F    ]     };
    key <AC05> {  [      Arabic_lam,       0x100fef7, g,    G      ]     };
    key <AC06> {  [     Arabic_alef,   Arabic_hamzaonalef, h,    H ]     };
    key <AC07> {  [      Arabic_teh,      Arabic_tatweel, j,    J  ]     };
    key <AC08> {  [     Arabic_noon,      Arabic_comma, k,    K    ]     };
    key <AC09> {  [     Arabic_meem,         slash, l,    L        ]     };
    key <AC10> {  [      Arabic_kaf,           colon, semicolon,    colon      ]     };
    key <AC11> {  [      Arabic_tah,        quotedbl, apostrophe,   quotedbl      ]     };
    key <BKSL> {  [       backslash,             bar, backslash,             bar      ]     };

    key <LSGT> {  [             bar,      brokenbar, bar,      brokenbar	  ]     };
    key <AB01> {  [Arabic_hamzaonyeh,    asciitilde, z,    Z       ]     };
    key <AB02> {  [    Arabic_hamza,      Arabic_sukun, x,    X    ]     };
    key <AB03> {  [Arabic_hamzaonwaw,      braceright, c,    C     ]     };
    key <AB04> {  [       Arabic_ra,       braceleft, v,    V      ]     };
    key <AB05> {  [       0x100fefb,       0x100fef5, b,    B      ]     };
    key <AB06> {  [Arabic_alefmaksura, Arabic_maddaonalef, n,    N ]     };
    key <AB07> {  [Arabic_tehmarbuta,    apostrophe, m,    M       ]     };
    key <AB08> {  [      Arabic_waw,         comma,  comma,    less        ]     };
    key <AB09> {  [     Arabic_zain,         period, period,    greater       ]     };
    key <AB10> {  [      Arabic_zah, Arabic_question_mark, slash,    question ]     };

	include "level3(ralt_switch)"

};


partial alphanumeric_keys
	xkb_symbols "basic" {
	include "sun_vndr/ara(type6)"
};
