Compare commits

...

1 Commits

Author SHA1 Message Date
Jules Aguillon
b7eefd1079 Add support for gujarati numerals 2024-02-28 23:25:03 +01:00

View File

@ -103,6 +103,7 @@ public final class KeyModifier
case "bengali": return map_char_numpad_bengali; case "bengali": return map_char_numpad_bengali;
case "devanagari": return map_char_numpad_devanagari; case "devanagari": return map_char_numpad_devanagari;
case "persian": return map_char_numpad_persian; case "persian": return map_char_numpad_persian;
case "gujarati": return map_char_numpad_gujarati;
default: return map_char_none; default: return map_char_none;
} }
} }
@ -1098,4 +1099,25 @@ public final class KeyModifier
} }
} }
}; };
private static final Map_char map_char_numpad_gujarati =
new Map_char() {
public String apply(char c)
{
switch (c)
{
case '0': return "";
case '1': return "";
case '2': return "";
case '3': return "";
case '4': return "";
case '5': return "";
case '6': return "";
case '7': return "";
case '8': return "";
case '9': return "";
default: return null;
}
}
};
} }