From 7cf12d191a6c514accda1d028074fe2bbc878bf2 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 9 Jan 2013 12:20:06 +0530 Subject: [PATCH] Add Rupee Sign default on all Indic xkb maps --- symbols/in | 43 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/symbols/in b/symbols/in index f98d060..a4e0e5f 100644 --- a/symbols/in +++ b/symbols/in @@ -38,7 +38,7 @@ xkb_symbols "deva" { // INSCRIPT in place of the symbols that are here for now. But this // requires XKB to map 1 key into two to three other key presses. key { [ U0969, numbersign, 3, numbersign ] }; - key { [ U096a, dollar, 4, dollar ] }; + key { [ U096a, dollar, 4 ] }; key { [ U096b, percent, 5, percent ] }; key { [ U096c, asciicircum, 6, asciicircum ] }; key { [ U096d, ampersand, 7, ampersand ] }; @@ -89,6 +89,7 @@ xkb_symbols "deva" { // space, space, Zero-Width-Non-Joiner (ZWNJ), Zero-Width-Joiner (ZWJ): include "nbsp(zwnj3zwj4)" + include "rupeesign(4)" }; //Name : Bolnagri (Combined) @@ -110,7 +111,7 @@ xkb_symbols "bolnagri" { key { [ 1, exclam, U0967, exclam ] }; key { [ 2, at, U0968, at ] }; key { [ 3, numbersign, U0969, numbersign ] }; - key { [ 4, U20B9, U096A, dollar ] }; // Rupee symbol on $ + key { [ 4, dollar, U096A ] }; // Rupee symbol on AltGr+4 key { [ 5, percent, U096B, percent ] }; key { [ 6, asciicircum, U096C, asciicircum ] }; key { [ 7, ampersand, U096D, ampersand ] }; @@ -165,7 +166,9 @@ xkb_symbols "bolnagri" { // modifier_map Lock { Caps_Lock }; // modifier_map Control{ Control_L }; // modifier_map Mod3 { Mode_switch }; + include "level3(ralt_switch)" + include "rupeesign(4)" }; // based on a keyboard map from an 'xkb/symbols/ben' file @@ -234,6 +237,8 @@ xkb_symbols "ben" { key { [ comma, U09B7 ] }; key { [ period, U0964 ] }; key { [ U09DF, U09AF ] }; + + include "rupeesign(4)" }; xkb_symbols "ben_probhat" { @@ -307,6 +312,7 @@ xkb_symbols "ben_probhat" { // modifier_map Lock { Caps_Lock }; // modifier_map Control{ Control_L }; + include "rupeesign(4)" }; // Bengali Baishakhi, Bengali Baishakhi Inscript, Bengali Bornona, Uni Gitanjali Layouts are added by Promathesh Mandal @@ -385,7 +391,7 @@ xkb_symbols "ben_baishakhi" { // modifier_map Lock { Caps_Lock }; // modifier_map Control{ Control_L }; - + include "rupeesign(4)" }; xkb_symbols "ben_inscript" { @@ -452,6 +458,8 @@ xkb_symbols "ben_inscript" { key { [ comma, 0x10009B7 ] }; key { [ period, 0x1000964 ] }; key { [ 0x10009DF, 0x10009AF ] }; + + include "rupeesign(4)" }; xkb_symbols "ben_gitanjali" { @@ -528,7 +536,7 @@ xkb_symbols "ben_gitanjali" { // modifier_map Lock { Caps_Lock }; // modifier_map Control{ Control_L }; - + include "rupeesign(4)" }; @@ -604,7 +612,7 @@ xkb_symbols "ben_bornona" { // modifier_map Control{ Control_L }; // third level with right-alt include "level3(ralt_switch)" - + include "rupeesign(4)" }; partial alphanumeric_keys @@ -670,6 +678,7 @@ xkb_symbols "guj" { key { [ comma, U0AB7 ] }; key { [ period, U0964 ] }; key { [ U0AAF, question ] }; + include "rupeesign(4)" }; partial alphanumeric_keys @@ -736,7 +745,7 @@ xkb_symbols "kan" { symbols[Group1] = [ Mode_switch, Multi_key ], virtualMods = AltGr }; - + include "rupeesign(4)" }; // Description : A keymap for Malayalam @@ -828,6 +837,7 @@ xkb_symbols "mal" { key { [ period , U0200d ] }; key { [ U0d2f , question ] }; + include "rupeesign(4)" }; //Name : Lalitha @@ -845,7 +855,7 @@ xkb_symbols "mal_lalitha" { key { [ 1, exclam, U0D67, exclam ] }; key { [ 2, at, U0D68, at ] }; key { [ 3, numbersign, U0D69, numbersign ] }; - key { [ 4, dollar, U0D6A, dollar ] }; + key { [ 4, dollar, U0D6A ] }; key { [ 5, percent, U0D6B, percent ] }; key { [ 6, asciicircum, U0D6C, asciicircum ] }; key { [ 7, ampersand, U0D6D, ampersand ] }; @@ -901,6 +911,7 @@ xkb_symbols "mal_lalitha" { // modifier_map Control{ Control_L }; // modifier_map Mod3 { Mode_switch }; include "level3(ralt_switch)" + include "rupeesign(4)" }; @@ -964,6 +975,7 @@ xkb_symbols "ori" { symbols[Group1] = [ Mode_switch, Multi_key ], virtualMods = AltGr }; + include "rupeesign(4)" }; // based on a keyboard map from an 'xkb/symbols/tml' file @@ -1029,6 +1041,8 @@ xkb_symbols "tam" { key { [ comma, U0BB7 ] }; key { [ period, U0964 ] }; key { [ U0BAF, question ] }; + + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1095,6 +1109,8 @@ xkb_symbols "tam_unicode" { key { [ U0B94, U0BCC ] }; key { [ U0B85, U0B86 ] }; key { [ U0B87, U0B88 ] }; + + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1160,6 +1176,8 @@ xkb_symbols "tam_keyboard_with_numerals" { key { [ U0B94, U0BCC ] }; key { [ U0B85, U0B86 ] }; key { [ U0B87, U0B88 ] }; + + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1217,6 +1235,7 @@ xkb_symbols "tam_TSCII" { key { [ 0x10000ab, 0x10000ac ] }; // a, A key { [ 0x10000fe, 0x10000ae ] }; // i, I + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1273,6 +1292,8 @@ xkb_symbols "tam_TAB" { key { [ 0x10000ac, 0x10000a3 ] }; key { [ 0x10000dc, 0x10000dd ] }; key { [ 0x10000de, 0x10000df ] }; + + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1340,6 +1361,7 @@ xkb_symbols "tel" { symbols[Group1] = [ Mode_switch, Multi_key ], virtualMods = AltGr }; + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1425,6 +1447,8 @@ xkb_symbols "guru" { key { [ comma, less ] }; key { [ period, U0964 ] }; key { [ U0A2F, question ] }; + + include "rupeesign(4)" }; //Name : Jhelum (Refind Inscript) @@ -1443,7 +1467,7 @@ xkb_symbols "jhelum" { key { [ 1,exclam, U0A67, exclam ] }; key { [ 2,at, U0A68, at ] }; key { [ 3,numbersign, U0A69, numbersign ] }; - key { [ 4,dollar, U0A6A, dollar ] }; + key { [ 4,dollar, U0A6A ] }; key { [ 5,percent,U0A6B, percent ] }; key { [ 6,asciicircum, U0A6C,asciicircum ] }; key { [ 7,ampersand,U0A6D,ampersand ] }; @@ -1499,6 +1523,7 @@ xkb_symbols "jhelum" { // modifier_map Control{ Control_L }; // modifier_map Mod3 { Mode_switch }; include "level3(ralt_switch)" + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1563,6 +1588,7 @@ xkb_symbols "olpc" { include "nbsp(zwnj3zwj4)" include "group(olpc)" + include "rupeesign(4)" }; partial alphanumeric_keys @@ -1628,6 +1654,7 @@ xkb_symbols "hin-wx" { key { [ slash, question ] }; include "level3(ralt_switch)" + include "rupeesign(4)" }; partial alphanumeric_keys -- 1.8.0.2