| 1 |
// Keyboard layouts for Taiwan. |
| 2 |
|
| 3 |
default partial alphanumeric_keys |
| 4 |
xkb_symbols "tw" { |
| 5 |
|
| 6 |
include "us(basic)" |
| 7 |
|
| 8 |
name[Group1]= "Taiwanese"; |
| 9 |
|
| 10 |
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; |
| 11 |
key <AE01> { [ 1, exclam, U030D, exclamdown ] }; |
| 12 |
key <AE02> { [ 2, at, U0358, twosuperior ] }; |
| 13 |
key <AE03> { [ 3, numbersign, section, threesuperior ] }; |
| 14 |
key <AE04> { [ 4, dollar, yen, sterling ] }; |
| 15 |
key <AE05> { [ 5, percent, EuroSign, cent ] }; |
| 16 |
key <AE06> { [ 6,asciicircum, dead_circumflex, dead_caron ] }; |
| 17 |
key <AE07> { [ 7, ampersand, dead_acute, NoSymbol ] }; |
| 18 |
key <AE08> { [ 8, asterisk, dead_cedilla, dead_horn ] }; |
| 19 |
key <AE09> { [ 9, parenleft, dead_ogonek, dead_breve ] }; |
| 20 |
key <AE10> { [ 0, parenright, dead_abovedot, dead_abovering ] }; |
| 21 |
key <AE11> { [ minus, underscore, dead_macron, plusminus ] }; |
| 22 |
key <AE12> { [ equal, plus, multiply, division ] }; |
| 23 |
|
| 24 |
key <AD01> { [ q, Q, paragraph, degree ] }; |
| 25 |
key <AD03> { [ e, E, eacute, Eacute ] }; |
| 26 |
key <AD04> { [ r, R, U1E5F, U1E5E ] }; |
| 27 |
key <AD05> { [ t, T, U1E6F, U1E6E ] }; |
| 28 |
key <AD06> { [ y, Y, U1E73, U1E72 ] }; |
| 29 |
key <AD07> { [ u, U, U0289, U0244 ] }; |
| 30 |
key <AD08> { [ i, I, U0268, U0197 ] }; |
| 31 |
key <AD09> { [ o, O, oslash, Oslash ] }; |
| 32 |
|
| 33 |
key <AC02> { [ s, S, ssharp, U1E9E ] }; |
| 34 |
key <AC03> { [ d, D, U1E0F, U1E0E ] }; |
| 35 |
key <AC05> { [ g, G, eng, ENG ] }; |
| 36 |
key <AC09> { [ l, L, U1E3B, U1E3A ] }; |
| 37 |
key <AC10> { [ semicolon, colon, U02D0, dead_diaeresis ] }; |
| 38 |
key <AC11> { [apostrophe, quotedbl, U02BC, dead_doubleacute ] }; |
| 39 |
|
| 40 |
key <AB03> { [ c, C, ccedilla, Ccedilla ] }; |
| 41 |
key <AB06> { [ n, N, U207F, U1D3A ] }; |
| 42 |
key <AB07> { [ m, M, mu, mu ] }; |
| 43 |
key <AB08> { [ comma, less, dead_belowcomma, guillemotleft ] }; |
| 44 |
key <AB09> { [ period, greater, dead_belowdot, guillemotright ] }; |
| 45 |
key <AB10> { [ slash, question, questiondown, dead_hook ] }; |
| 46 |
key <BKSL> { [ backslash, bar, notsign, brokenbar ] }; |
| 47 |
|
| 48 |
include "level3(ralt_switch)" |
| 49 |
}; |
| 50 |
|
| 51 |
partial alphanumeric_keys |
| 52 |
xkb_symbols "indigenous" { |
| 53 |
|
| 54 |
include "tw(tw)" |
| 55 |
|
| 56 |
name[Group1]= "Taiwanese (indigenous)"; |
| 57 |
|
| 58 |
key <AC11> { [ U02BC, quotedbl, apostrophe, dead_doubleacute ] }; |
| 59 |
|
| 60 |
include "level3(ralt_switch)" |
| 61 |
}; |
| 62 |
|
| 63 |
partial alphanumeric_keys |
| 64 |
xkb_symbols "saisiyat" { |
| 65 |
|
| 66 |
include "tw(indigenous)" |
| 67 |
|
| 68 |
name[Group1]= "Saisiyat (Taiwan)"; |
| 69 |
|
| 70 |
key <AC10> { [ U02D0, colon, semicolon, dead_diaeresis ] }; |
| 71 |
|
| 72 |
include "level3(ralt_switch)" |
| 73 |
}; |
| 74 |
|
| 75 |
// EXTRAS: |
| 76 |
|
| 77 |
partial alphanumeric_keys |
| 78 |
xkb_symbols "sun_type6" { |
| 79 |
include "sun_vndr/tw(sun_type6)" |
| 80 |
}; |