From dbb4d55290778e2fa920be0469b3eaf02037375e Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 20 Sep 2010 10:41:02 +0530 Subject: [PATCH] Add keymap that will extend USA map with Indian Rupee --- rules/base.o_s.part | 1 + rules/base.xml.in | 6 ++++++ symbols/Makefile.am | 2 +- symbols/in | 13 +++++++++++++ symbols/rupeesign | 7 +++++++ 5 files changed, 28 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..c518c88 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1783,6 +1783,12 @@ hin + + + rupee + <_description>With RupeeSign + + 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