From 86840ff82b7090300ccb59998b393fb182edd9e3 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 17 Sep 2010 14:22:52 +0530 Subject: [PATCH] Add keymap that will extend USA map with Indian Rupee Sign --- rules/base.o_s.part | 1 + rules/base.xml.in | 19 +++++++++++++++++++ symbols/Makefile.am | 2 +- symbols/in | 13 +++++++++++++ symbols/rupeesign | 7 +++++++ 5 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 symbols/rupeesign diff --git a/rules/base.o_s.part b/rules/base.o_s.part index 59c39b5..2599194 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -81,6 +81,7 @@ eurosign:2 = +eurosign(2) eurosign:4 = +eurosign(4) eurosign:5 = +eurosign(5) + rupeesign:4 = +rupeesign(4) keypad:oss = +keypad(oss) keypad:legacy = +keypad(legacy) keypad:legacy_wang = +keypad(legacy_wang) diff --git a/rules/base.xml.in b/rules/base.xml.in index 812b453..bf23337 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1783,6 +1783,12 @@ hin + + + rupee + <_description>With RupeeSign + + @@ -5330,6 +5336,19 @@ + + + rupeesign + <_description>Adding RupeeSign to key 4 + + + + lv5 <_description>Key to choose 5th level diff --git a/symbols/Makefile.am b/symbols/Makefile.am index 8de9962..5597c75 100644 --- a/symbols/Makefile.am +++ b/symbols/Makefile.am @@ -32,7 +32,7 @@ terminate \ tj tm tr tz \ ua us uz vn \ za \ -altwin capslock compose ctrl empty eurosign group inet \ +altwin capslock compose ctrl empty eurosign rupeesign group inet \ keypad kpdl level3 level5 nbsp olpc shift srvr_ctrl typo dir_data = $(dist_symbols_DATA) diff --git a/symbols/in b/symbols/in index 363094d..d34c6ee 100644 --- a/symbols/in +++ b/symbols/in @@ -1333,3 +1333,16 @@ xkb_symbols "hin-wx" { include "level3(ralt_switch)" }; +partial alphanumeric_keys +xkb_symbols "rupee" { + + name[Group1]= "India - USA With Rupee"; + + include "us(basic)" + + include "rupeesign(4)" + + include "level3(ralt_switch)" +}; + + diff --git a/symbols/rupeesign b/symbols/rupeesign new file mode 100644 index 0000000..e7edd4d --- /dev/null +++ b/symbols/rupeesign @@ -0,0 +1,7 @@ + +// keyboards having the RupeeSign on the 4 key +partial +xkb_symbols "4" { + key { [ NoSymbol, NoSymbol, U20B9 ] }; +}; + -- 1.7.2.2