| 1 |
// |
| 2 |
// Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
| 3 |
// |
| 4 |
// Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
// copy of this software and associated documentation files (the |
| 6 |
// "Software"), to deal in the Software without restriction, including |
| 7 |
// without limitation the rights to use, copy, modify, merge, publish, |
| 8 |
// distribute, and/or sell copies of the Software, and to permit persons |
| 9 |
// to whom the Software is furnished to do so, provided that the above |
| 10 |
// copyright notice(s) and this permission notice appear in all copies of |
| 11 |
// the Software and that both the above copyright notice(s) and this |
| 12 |
// permission notice appear in supporting documentation. |
| 13 |
// |
| 14 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 |
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 16 |
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
| 17 |
// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 18 |
// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
| 19 |
// INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
| 20 |
// FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
| 21 |
// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
| 22 |
// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 23 |
// |
| 24 |
// Except as contained in this notice, the name of a copyright holder |
| 25 |
// shall not be used in advertising or otherwise to promote the sale, use |
| 26 |
// or other dealings in this Software without prior written authorization |
| 27 |
// of the copyright holder. |
| 28 |
// |
| 29 |
|
| 30 |
default partial alphanumeric_keys |
| 31 |
xkb_symbols "sun_type6" { |
| 32 |
|
| 33 |
name[Group1]= "Korean (Sun Type 6/7)"; |
| 34 |
|
| 35 |
include "sun_vndr/us(sunbasic)" |
| 36 |
|
| 37 |
// A few keys are different |
| 38 |
key <ALGR> { [ Hangul ] }; |
| 39 |
key <COMP> { [ Hangul_Hanja ] }; |
| 40 |
key <BKSL> { [ backslash, bar, brokenbar ] }; |
| 41 |
|
| 42 |
}; |
| 43 |
|
| 44 |
partial alphanumeric_keys |
| 45 |
xkb_symbols "basic" { |
| 46 |
include "sun_vndr/kr(sun_type6)" |
| 47 |
}; |
| 48 |
|
| 49 |
partial alphanumeric_keys |
| 50 |
xkb_symbols "kr106" { |
| 51 |
include "kr(kr106)" |
| 52 |
}; |
| 53 |
|
| 54 |
partial alphanumeric_keys |
| 55 |
xkb_symbols "kr104" { |
| 56 |
include "kr(kr104)" |
| 57 |
}; |
| 58 |
|
| 59 |
partial function_keys |
| 60 |
xkb_symbols "hw_keys" { |
| 61 |
include "kr(hw_keys)" |
| 62 |
}; |
| 63 |
|
| 64 |
partial function_keys |
| 65 |
xkb_symbols "ralt_hangul" { |
| 66 |
include "kr(ralt_hangul)" |
| 67 |
}; |
| 68 |
|
| 69 |
partial function_keys |
| 70 |
xkb_symbols "rctrl_hangul" { |
| 71 |
include "kr(rctrl_hangul)" |
| 72 |
}; |
| 73 |
|
| 74 |
partial function_keys |
| 75 |
xkb_symbols "ralt_hanja" { |
| 76 |
include "kr(ralt_hanja)" |
| 77 |
}; |
| 78 |
|
| 79 |
partial function_keys |
| 80 |
xkb_symbols "rctrl_hanja" { |
| 81 |
include "kr(rctrl_hanja)" |
| 82 |
}; |