Changeset 14022 in josm
- Timestamp:
- 2018-07-08T20:59:07+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/KeyboardUtils.java
r14017 r14022 294 294 // International English Apple, https://en.wikipedia.org/wiki/QWERTY#Apple_International_English_Keyboard 295 295 if (Main.isPlatformOsx()) { 296 result.add('§'); 296 result.add('§'); // https://en.wikipedia.org/wiki/Section_sign 297 297 } 298 298 … … 657 657 658 658 static void addArabicCharacters(Map<Integer, Character> map) { 659 /* TODO Arabic characters 660 map.put(EXTENDED_KEYCODE_FLAG + 0x06F0, ''); // 661 map.put(EXTENDED_KEYCODE_FLAG + 0x06F1, ''); // 662 map.put(EXTENDED_KEYCODE_FLAG + 0x06F2, ''); // 663 map.put(EXTENDED_KEYCODE_FLAG + 0x06F3, ''); // 664 map.put(EXTENDED_KEYCODE_FLAG + 0x06F4, ''); // 665 map.put(EXTENDED_KEYCODE_FLAG + 0x06F5, ''); // 666 map.put(EXTENDED_KEYCODE_FLAG + 0x06F6, ''); // 667 map.put(EXTENDED_KEYCODE_FLAG + 0x06F7, ''); // 668 map.put(EXTENDED_KEYCODE_FLAG + 0x06F8, ''); // 669 map.put(EXTENDED_KEYCODE_FLAG + 0x06F9, ''); // 670 map.put(EXTENDED_KEYCODE_FLAG + 0x0670, ''); // 671 map.put(EXTENDED_KEYCODE_FLAG + 0x067E, ''); // 672 map.put(EXTENDED_KEYCODE_FLAG + 0x0686, ''); // 673 map.put(EXTENDED_KEYCODE_FLAG + 0x060C, ''); // 674 map.put(EXTENDED_KEYCODE_FLAG + 0x06D4, ''); // 675 map.put(EXTENDED_KEYCODE_FLAG + 0x0660, ''); // 676 map.put(EXTENDED_KEYCODE_FLAG + 0x0661, ''); // 677 map.put(EXTENDED_KEYCODE_FLAG + 0x0662, ''); // 678 map.put(EXTENDED_KEYCODE_FLAG + 0x0663, ''); // 679 map.put(EXTENDED_KEYCODE_FLAG + 0x0664, ''); // 680 map.put(EXTENDED_KEYCODE_FLAG + 0x0665, ''); // 681 map.put(EXTENDED_KEYCODE_FLAG + 0x0666, ''); // 682 map.put(EXTENDED_KEYCODE_FLAG + 0x0667, ''); // 683 map.put(EXTENDED_KEYCODE_FLAG + 0x0668, ''); // 684 map.put(EXTENDED_KEYCODE_FLAG + 0x0669, ''); // 685 map.put(EXTENDED_KEYCODE_FLAG + 0x061B, ''); // 686 map.put(EXTENDED_KEYCODE_FLAG + 0x0621, ''); // 687 map.put(EXTENDED_KEYCODE_FLAG + 0x0624, ''); // 688 map.put(EXTENDED_KEYCODE_FLAG + 0x0626, ''); // 689 map.put(EXTENDED_KEYCODE_FLAG + 0x0627, ''); // 690 map.put(EXTENDED_KEYCODE_FLAG + 0x0628, ''); // 691 map.put(EXTENDED_KEYCODE_FLAG + 0x0629, ''); // 692 map.put(EXTENDED_KEYCODE_FLAG + 0x062A, ''); // 693 map.put(EXTENDED_KEYCODE_FLAG + 0x062B, ''); // 694 map.put(EXTENDED_KEYCODE_FLAG + 0x062C, ''); // 695 map.put(EXTENDED_KEYCODE_FLAG + 0x062D, ''); // 696 map.put(EXTENDED_KEYCODE_FLAG + 0x062E, ''); // 697 map.put(EXTENDED_KEYCODE_FLAG + 0x062F, ''); // 698 map.put(EXTENDED_KEYCODE_FLAG + 0x0630, ''); // 699 map.put(EXTENDED_KEYCODE_FLAG + 0x0631, ''); // 700 map.put(EXTENDED_KEYCODE_FLAG + 0x0632, ''); // 701 map.put(EXTENDED_KEYCODE_FLAG + 0x0633, ''); // 702 map.put(EXTENDED_KEYCODE_FLAG + 0x0634, ''); // 703 map.put(EXTENDED_KEYCODE_FLAG + 0x0635, ''); // 704 map.put(EXTENDED_KEYCODE_FLAG + 0x0636, ''); // 705 map.put(EXTENDED_KEYCODE_FLAG + 0x0637, ''); // 706 map.put(EXTENDED_KEYCODE_FLAG + 0x0638, ''); // 707 map.put(EXTENDED_KEYCODE_FLAG + 0x0639, ''); // 708 map.put(EXTENDED_KEYCODE_FLAG + 0x063A, ''); // 709 map.put(EXTENDED_KEYCODE_FLAG + 0x0641, ''); // 710 map.put(EXTENDED_KEYCODE_FLAG + 0x0642, ''); // 711 map.put(EXTENDED_KEYCODE_FLAG + 0x0643, ''); // 712 map.put(EXTENDED_KEYCODE_FLAG + 0x0644, ''); // 713 map.put(EXTENDED_KEYCODE_FLAG + 0x0645, ''); // 714 map.put(EXTENDED_KEYCODE_FLAG + 0x0646, ''); // 715 map.put(EXTENDED_KEYCODE_FLAG + 0x0647, ''); // 716 map.put(EXTENDED_KEYCODE_FLAG + 0x0648, ''); // 717 map.put(EXTENDED_KEYCODE_FLAG + 0x0649, ''); // 718 map.put(EXTENDED_KEYCODE_FLAG + 0x064A, ''); // 719 map.put(EXTENDED_KEYCODE_FLAG + 0x064E, ''); // 720 map.put(EXTENDED_KEYCODE_FLAG + 0x064F, ''); // 721 map.put(EXTENDED_KEYCODE_FLAG + 0x0650, ''); // 722 map.put(EXTENDED_KEYCODE_FLAG + 0x0652, ''); // 723 map.put(EXTENDED_KEYCODE_FLAG + 0x0698, ''); // 724 map.put(EXTENDED_KEYCODE_FLAG + 0x06A4, ''); // 725 map.put(EXTENDED_KEYCODE_FLAG + 0x06A9, ''); // 726 map.put(EXTENDED_KEYCODE_FLAG + 0x06AF, ''); // 727 map.put(EXTENDED_KEYCODE_FLAG + 0x06BE, ''); // 728 map.put(EXTENDED_KEYCODE_FLAG + 0x06CC, ''); // 729 map.put(EXTENDED_KEYCODE_FLAG + 0x06CC, ''); // 730 map.put(EXTENDED_KEYCODE_FLAG + 0x06D2, ''); // 731 */ 659 map.put(EXTENDED_KEYCODE_FLAG + 0x060C, '،'); // ARABIC COMMA 660 map.put(EXTENDED_KEYCODE_FLAG + 0x061B, '؛'); // ARABIC SEMICOLON 661 map.put(EXTENDED_KEYCODE_FLAG + 0x0621, 'ء'); // ARABIC LETTER HAMZA 662 map.put(EXTENDED_KEYCODE_FLAG + 0x0624, 'ؤ'); // ARABIC LETTER WAW WITH HAMZA ABOVE 663 map.put(EXTENDED_KEYCODE_FLAG + 0x0626, 'ئ'); // ARABIC LETTER YEH WITH HAMZA ABOVE 664 map.put(EXTENDED_KEYCODE_FLAG + 0x0627, 'ا'); // ARABIC LETTER ALEF 665 map.put(EXTENDED_KEYCODE_FLAG + 0x0628, 'ب'); // ARABIC LETTER BEH 666 map.put(EXTENDED_KEYCODE_FLAG + 0x0629, 'ة'); // ARABIC LETTER TEH MARBUTA 667 map.put(EXTENDED_KEYCODE_FLAG + 0x062A, 'ت'); // ARABIC LETTER TEH 668 map.put(EXTENDED_KEYCODE_FLAG + 0x062B, 'ث'); // ARABIC LETTER THEH 669 map.put(EXTENDED_KEYCODE_FLAG + 0x062C, 'ج'); // ARABIC LETTER JEEM 670 map.put(EXTENDED_KEYCODE_FLAG + 0x062D, 'ح'); // ARABIC LETTER HAH 671 map.put(EXTENDED_KEYCODE_FLAG + 0x062E, 'خ'); // ARABIC LETTER KHAH 672 map.put(EXTENDED_KEYCODE_FLAG + 0x062F, 'د'); // ARABIC LETTER DAL 673 map.put(EXTENDED_KEYCODE_FLAG + 0x0630, 'ذ'); // ARABIC LETTER THAL 674 map.put(EXTENDED_KEYCODE_FLAG + 0x0631, 'ر'); // ARABIC LETTER REH 675 map.put(EXTENDED_KEYCODE_FLAG + 0x0632, 'ز'); // ARABIC LETTER ZAIN 676 map.put(EXTENDED_KEYCODE_FLAG + 0x0633, 'س'); // ARABIC LETTER SEEN 677 map.put(EXTENDED_KEYCODE_FLAG + 0x0634, 'ش'); // ARABIC LETTER SHEEN 678 map.put(EXTENDED_KEYCODE_FLAG + 0x0635, 'ص'); // ARABIC LETTER SAD 679 map.put(EXTENDED_KEYCODE_FLAG + 0x0636, 'ض'); // ARABIC LETTER DAD 680 map.put(EXTENDED_KEYCODE_FLAG + 0x0637, 'ط'); // ARABIC LETTER TAH 681 map.put(EXTENDED_KEYCODE_FLAG + 0x0638, 'ظ'); // ARABIC LETTER ZAH 682 map.put(EXTENDED_KEYCODE_FLAG + 0x0639, 'ع'); // ARABIC LETTER AIN 683 map.put(EXTENDED_KEYCODE_FLAG + 0x063A, 'غ'); // ARABIC LETTER GHAIN 684 map.put(EXTENDED_KEYCODE_FLAG + 0x0641, 'ف'); // ARABIC LETTER FEH 685 map.put(EXTENDED_KEYCODE_FLAG + 0x0642, 'ق'); // ARABIC LETTER QAF 686 map.put(EXTENDED_KEYCODE_FLAG + 0x0643, 'ك'); // ARABIC LETTER KAF 687 map.put(EXTENDED_KEYCODE_FLAG + 0x0644, 'ل'); // ARABIC LETTER LAM 688 map.put(EXTENDED_KEYCODE_FLAG + 0x0645, 'م'); // ARABIC LETTER MEEM 689 map.put(EXTENDED_KEYCODE_FLAG + 0x0646, 'ن'); // ARABIC LETTER NOON 690 map.put(EXTENDED_KEYCODE_FLAG + 0x0647, 'ه'); // ARABIC LETTER HEH 691 map.put(EXTENDED_KEYCODE_FLAG + 0x0648, 'و'); // ARABIC LETTER WAW 692 map.put(EXTENDED_KEYCODE_FLAG + 0x0649, 'ى'); // ARABIC LETTER ALEF MAKSURA 693 map.put(EXTENDED_KEYCODE_FLAG + 0x064A, 'ي'); // ARABIC LETTER YEH 694 map.put(EXTENDED_KEYCODE_FLAG + 0x064E, 'َ'); // ARABIC FATHA 695 map.put(EXTENDED_KEYCODE_FLAG + 0x064F, 'ُ'); // ARABIC DAMMA 696 map.put(EXTENDED_KEYCODE_FLAG + 0x0650, 'ِ'); // ARABIC KASRA 697 map.put(EXTENDED_KEYCODE_FLAG + 0x0652, 'ْ'); // ARABIC SUKUN 698 map.put(EXTENDED_KEYCODE_FLAG + 0x0660, '٠'); // ARABIC-INDIC DIGIT ZERO 699 map.put(EXTENDED_KEYCODE_FLAG + 0x0661, '١'); // ARABIC-INDIC DIGIT ONE 700 map.put(EXTENDED_KEYCODE_FLAG + 0x0662, '٢'); // ARABIC-INDIC DIGIT TWO 701 map.put(EXTENDED_KEYCODE_FLAG + 0x0663, '٣'); // ARABIC-INDIC DIGIT THREE 702 map.put(EXTENDED_KEYCODE_FLAG + 0x0664, '٤'); // ARABIC-INDIC DIGIT FOUR 703 map.put(EXTENDED_KEYCODE_FLAG + 0x0665, '٥'); // ARABIC-INDIC DIGIT FIVE 704 map.put(EXTENDED_KEYCODE_FLAG + 0x0666, '٦'); // ARABIC-INDIC DIGIT SIX 705 map.put(EXTENDED_KEYCODE_FLAG + 0x0667, '٧'); // ARABIC-INDIC DIGIT SEVEN 706 map.put(EXTENDED_KEYCODE_FLAG + 0x0668, '٨'); // ARABIC-INDIC DIGIT EIGHT 707 map.put(EXTENDED_KEYCODE_FLAG + 0x0669, '٩'); // ARABIC-INDIC DIGIT NINE 708 map.put(EXTENDED_KEYCODE_FLAG + 0x0670, 'ٰ'); // ARABIC LETTER SUPERSCRIPT ALEF 709 map.put(EXTENDED_KEYCODE_FLAG + 0x067E, 'پ'); // ARABIC LETTER PEH 710 map.put(EXTENDED_KEYCODE_FLAG + 0x0686, 'چ'); // ARABIC LETTER TCHEH 711 map.put(EXTENDED_KEYCODE_FLAG + 0x0698, 'ژ'); // ARABIC LETTER JEH 712 map.put(EXTENDED_KEYCODE_FLAG + 0x06A4, 'ڤ'); // ARABIC LETTER VEH 713 map.put(EXTENDED_KEYCODE_FLAG + 0x06A9, 'ک'); // ARABIC LETTER KEHEH 714 map.put(EXTENDED_KEYCODE_FLAG + 0x06AF, 'گ'); // ARABIC LETTER GAF 715 map.put(EXTENDED_KEYCODE_FLAG + 0x06BE, 'ھ'); // ARABIC LETTER HEH DOACHASHMEE 716 map.put(EXTENDED_KEYCODE_FLAG + 0x06CC, 'ی'); // ARABIC LETTER FARSI YEH 717 map.put(EXTENDED_KEYCODE_FLAG + 0x06D2, 'ے'); // ARABIC LETTER YEH BARREE 718 map.put(EXTENDED_KEYCODE_FLAG + 0x06D4, '۔'); // ARABIC FULL STOP 719 map.put(EXTENDED_KEYCODE_FLAG + 0x06F0, '۰'); // EXTENDED ARABIC-INDIC DIGIT ZERO 720 map.put(EXTENDED_KEYCODE_FLAG + 0x06F1, '۱'); // EXTENDED ARABIC-INDIC DIGIT ONE 721 map.put(EXTENDED_KEYCODE_FLAG + 0x06F2, '۲'); // EXTENDED ARABIC-INDIC DIGIT TWO 722 map.put(EXTENDED_KEYCODE_FLAG + 0x06F3, '۳'); // EXTENDED ARABIC-INDIC DIGIT THREE 723 map.put(EXTENDED_KEYCODE_FLAG + 0x06F4, '۴'); // EXTENDED ARABIC-INDIC DIGIT FOUR 724 map.put(EXTENDED_KEYCODE_FLAG + 0x06F5, '۵'); // EXTENDED ARABIC-INDIC DIGIT FIVE 725 map.put(EXTENDED_KEYCODE_FLAG + 0x06F6, '۶'); // EXTENDED ARABIC-INDIC DIGIT SIX 726 map.put(EXTENDED_KEYCODE_FLAG + 0x06F7, '۷'); // EXTENDED ARABIC-INDIC DIGIT SEVEN 727 map.put(EXTENDED_KEYCODE_FLAG + 0x06F8, '۸'); // EXTENDED ARABIC-INDIC DIGIT EIGHT 728 map.put(EXTENDED_KEYCODE_FLAG + 0x06F9, '۹'); // EXTENDED ARABIC-INDIC DIGIT NINE 732 729 } 733 730 734 731 static void addThaiCharacters(Map<Integer, Character> map) { 735 /* TODO Thai characters 736 map.put(EXTENDED_KEYCODE_FLAG + 0x0E01, ''); // 737 map.put(EXTENDED_KEYCODE_FLAG + 0x0E02, ''); // 738 map.put(EXTENDED_KEYCODE_FLAG + 0x0E03, ''); // 739 map.put(EXTENDED_KEYCODE_FLAG + 0x0E04, ''); // 740 map.put(EXTENDED_KEYCODE_FLAG + 0x0E05, ''); // 741 map.put(EXTENDED_KEYCODE_FLAG + 0x0E07, ''); // 742 map.put(EXTENDED_KEYCODE_FLAG + 0x0E08, ''); // 743 map.put(EXTENDED_KEYCODE_FLAG + 0x0E0A, ''); // 744 map.put(EXTENDED_KEYCODE_FLAG + 0x0E0C, ''); // 745 map.put(EXTENDED_KEYCODE_FLAG + 0x0E14, ''); // 746 map.put(EXTENDED_KEYCODE_FLAG + 0x0E15, ''); // 747 map.put(EXTENDED_KEYCODE_FLAG + 0x0E16, ''); // 748 map.put(EXTENDED_KEYCODE_FLAG + 0x0E17, ''); // 749 map.put(EXTENDED_KEYCODE_FLAG + 0x0E19, ''); // 750 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1A, ''); // 751 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1B, ''); // 752 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1C, ''); // 753 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1D, ''); // 754 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1E, ''); // 755 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1F, ''); // 756 map.put(EXTENDED_KEYCODE_FLAG + 0x0E20, ''); // 757 map.put(EXTENDED_KEYCODE_FLAG + 0x0E21, ''); // 758 map.put(EXTENDED_KEYCODE_FLAG + 0x0E22, ''); // 759 map.put(EXTENDED_KEYCODE_FLAG + 0x0E23, ''); // 760 map.put(EXTENDED_KEYCODE_FLAG + 0x0E25, ''); // 761 map.put(EXTENDED_KEYCODE_FLAG + 0x0E27, ''); // 762 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2A, ''); // 763 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2B, ''); // 764 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2D, ''); // 765 map.put(EXTENDED_KEYCODE_FLAG + 0x0E30, ''); // 766 map.put(EXTENDED_KEYCODE_FLAG + 0x0E31, ''); // 767 map.put(EXTENDED_KEYCODE_FLAG + 0x0E32, ''); // 768 map.put(EXTENDED_KEYCODE_FLAG + 0x0E33, ''); // 769 map.put(EXTENDED_KEYCODE_FLAG + 0x0E34, ''); // 770 map.put(EXTENDED_KEYCODE_FLAG + 0x0E35, ''); // 771 map.put(EXTENDED_KEYCODE_FLAG + 0x0E36, ''); // 772 map.put(EXTENDED_KEYCODE_FLAG + 0x0E37, ''); // 773 map.put(EXTENDED_KEYCODE_FLAG + 0x0E38, ''); // 774 map.put(EXTENDED_KEYCODE_FLAG + 0x0E39, ''); // 775 map.put(EXTENDED_KEYCODE_FLAG + 0x0E3F, ''); // 776 map.put(EXTENDED_KEYCODE_FLAG + 0x0E40, ''); // 777 map.put(EXTENDED_KEYCODE_FLAG + 0x0E41, ''); // 778 map.put(EXTENDED_KEYCODE_FLAG + 0x0E43, ''); // 779 map.put(EXTENDED_KEYCODE_FLAG + 0x0E44, ''); // 780 map.put(EXTENDED_KEYCODE_FLAG + 0x0E45, ''); // 781 map.put(EXTENDED_KEYCODE_FLAG + 0x0E46, ''); // 782 map.put(EXTENDED_KEYCODE_FLAG + 0x0E47, ''); // 783 map.put(EXTENDED_KEYCODE_FLAG + 0x0E48, ''); // 784 map.put(EXTENDED_KEYCODE_FLAG + 0x0E49, ''); // 785 map.put(EXTENDED_KEYCODE_FLAG + 0x0E50, ''); // 786 map.put(EXTENDED_KEYCODE_FLAG + 0x0E51, ''); // 787 map.put(EXTENDED_KEYCODE_FLAG + 0x0E52, ''); // 788 map.put(EXTENDED_KEYCODE_FLAG + 0x0E53, ''); // 789 map.put(EXTENDED_KEYCODE_FLAG + 0x0E54, ''); // 790 map.put(EXTENDED_KEYCODE_FLAG + 0x0E55, ''); // 791 map.put(EXTENDED_KEYCODE_FLAG + 0x0E56, ''); // 792 map.put(EXTENDED_KEYCODE_FLAG + 0x0E57, ''); // 793 map.put(EXTENDED_KEYCODE_FLAG + 0x0E58, ''); // 794 map.put(EXTENDED_KEYCODE_FLAG + 0x0E59, ''); // 795 */ 732 map.put(EXTENDED_KEYCODE_FLAG + 0x0E01, 'ก'); // THAI CHARACTER KO KAI 733 map.put(EXTENDED_KEYCODE_FLAG + 0x0E02, 'ข'); // THAI CHARACTER KHO KHAI 734 map.put(EXTENDED_KEYCODE_FLAG + 0x0E03, 'ฃ'); // THAI CHARACTER KHO KHUAT 735 map.put(EXTENDED_KEYCODE_FLAG + 0x0E04, 'ค'); // THAI CHARACTER KHO KHWAI 736 map.put(EXTENDED_KEYCODE_FLAG + 0x0E05, 'ฅ'); // THAI CHARACTER KHO KHON 737 map.put(EXTENDED_KEYCODE_FLAG + 0x0E07, 'ง'); // THAI CHARACTER NGO NGU 738 map.put(EXTENDED_KEYCODE_FLAG + 0x0E08, 'จ'); // THAI CHARACTER CHO CHAN 739 map.put(EXTENDED_KEYCODE_FLAG + 0x0E0A, 'ช'); // THAI CHARACTER CHO CHANG 740 map.put(EXTENDED_KEYCODE_FLAG + 0x0E0C, 'ฌ'); // THAI CHARACTER CHO CHOE 741 map.put(EXTENDED_KEYCODE_FLAG + 0x0E14, 'ด'); // THAI CHARACTER DO DEK 742 map.put(EXTENDED_KEYCODE_FLAG + 0x0E15, 'ต'); // THAI CHARACTER TO TAO 743 map.put(EXTENDED_KEYCODE_FLAG + 0x0E16, 'ถ'); // THAI CHARACTER THO THUNG 744 map.put(EXTENDED_KEYCODE_FLAG + 0x0E17, 'ท'); // THAI CHARACTER THO THAHAN 745 map.put(EXTENDED_KEYCODE_FLAG + 0x0E19, 'น'); // THAI CHARACTER NO NU 746 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1A, 'บ'); // THAI CHARACTER BO BAIMAI 747 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1B, 'ป'); // THAI CHARACTER PO PLA 748 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1C, 'ผ'); // THAI CHARACTER PHO PHUNG 749 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1D, 'ฝ'); // THAI CHARACTER FO FA 750 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1E, 'พ'); // THAI CHARACTER PHO PHAN 751 map.put(EXTENDED_KEYCODE_FLAG + 0x0E1F, 'ฟ'); // THAI CHARACTER FO FAN 752 map.put(EXTENDED_KEYCODE_FLAG + 0x0E20, 'ภ'); // THAI CHARACTER PHO SAMPHAO 753 map.put(EXTENDED_KEYCODE_FLAG + 0x0E21, 'ม'); // THAI CHARACTER MO MA 754 map.put(EXTENDED_KEYCODE_FLAG + 0x0E22, 'ย'); // THAI CHARACTER YO YAK 755 map.put(EXTENDED_KEYCODE_FLAG + 0x0E23, 'ร'); // THAI CHARACTER RO RUA 756 map.put(EXTENDED_KEYCODE_FLAG + 0x0E25, 'ล'); // THAI CHARACTER LO LING 757 map.put(EXTENDED_KEYCODE_FLAG + 0x0E27, 'ว'); // THAI CHARACTER WO WAEN 758 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2A, 'ส'); // THAI CHARACTER SO SUA 759 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2B, 'ห'); // THAI CHARACTER HO HIP 760 map.put(EXTENDED_KEYCODE_FLAG + 0x0E2D, 'อ'); // THAI CHARACTER O ANG 761 map.put(EXTENDED_KEYCODE_FLAG + 0x0E30, 'ะ'); // THAI CHARACTER SARA A 762 map.put(EXTENDED_KEYCODE_FLAG + 0x0E31, 'ั'); // THAI CHARACTER MAI HAN-AKAT 763 map.put(EXTENDED_KEYCODE_FLAG + 0x0E32, 'า'); // THAI CHARACTER SARA AA 764 map.put(EXTENDED_KEYCODE_FLAG + 0x0E33, 'ำ'); // THAI CHARACTER SARA AM 765 map.put(EXTENDED_KEYCODE_FLAG + 0x0E34, 'ิ'); // THAI CHARACTER SARA I 766 map.put(EXTENDED_KEYCODE_FLAG + 0x0E35, 'ี'); // THAI CHARACTER SARA II 767 map.put(EXTENDED_KEYCODE_FLAG + 0x0E36, 'ึ'); // THAI CHARACTER SARA UE 768 map.put(EXTENDED_KEYCODE_FLAG + 0x0E37, 'ื'); // THAI CHARACTER SARA UEE 769 map.put(EXTENDED_KEYCODE_FLAG + 0x0E38, 'ุ'); // THAI CHARACTER SARA U 770 map.put(EXTENDED_KEYCODE_FLAG + 0x0E39, 'ู'); // THAI CHARACTER SARA UU 771 map.put(EXTENDED_KEYCODE_FLAG + 0x0E3F, '฿'); // THAI CURRENCY SYMBOL BAHT 772 map.put(EXTENDED_KEYCODE_FLAG + 0x0E40, 'เ'); // THAI CHARACTER SARA E 773 map.put(EXTENDED_KEYCODE_FLAG + 0x0E41, 'แ'); // THAI CHARACTER SARA AE 774 map.put(EXTENDED_KEYCODE_FLAG + 0x0E43, 'ใ'); // THAI CHARACTER SARA AI MAIMUAN 775 map.put(EXTENDED_KEYCODE_FLAG + 0x0E44, 'ไ'); // THAI CHARACTER SARA AI MAIMALAI 776 map.put(EXTENDED_KEYCODE_FLAG + 0x0E45, 'ๅ'); // THAI CHARACTER LAKKHANGYAO 777 map.put(EXTENDED_KEYCODE_FLAG + 0x0E46, 'ๆ'); // THAI CHARACTER MAIYAMOK 778 map.put(EXTENDED_KEYCODE_FLAG + 0x0E47, '็'); // THAI CHARACTER MAITAIKHU 779 map.put(EXTENDED_KEYCODE_FLAG + 0x0E48, '่'); // THAI CHARACTER MAI EK 780 map.put(EXTENDED_KEYCODE_FLAG + 0x0E49, '้'); // THAI CHARACTER MAI THO 781 map.put(EXTENDED_KEYCODE_FLAG + 0x0E50, '๐'); // THAI DIGIT ZERO 782 map.put(EXTENDED_KEYCODE_FLAG + 0x0E51, '๑'); // THAI DIGIT ONE 783 map.put(EXTENDED_KEYCODE_FLAG + 0x0E52, '๒'); // THAI DIGIT TWO 784 map.put(EXTENDED_KEYCODE_FLAG + 0x0E53, '๓'); // THAI DIGIT THREE 785 map.put(EXTENDED_KEYCODE_FLAG + 0x0E54, '๔'); // THAI DIGIT FOUR 786 map.put(EXTENDED_KEYCODE_FLAG + 0x0E55, '๕'); // THAI DIGIT FIVE 787 map.put(EXTENDED_KEYCODE_FLAG + 0x0E56, '๖'); // THAI DIGIT SIX 788 map.put(EXTENDED_KEYCODE_FLAG + 0x0E57, '๗'); // THAI DIGIT SEVEN 789 map.put(EXTENDED_KEYCODE_FLAG + 0x0E58, '๘'); // THAI DIGIT EIGHT 790 map.put(EXTENDED_KEYCODE_FLAG + 0x0E59, '๙'); // THAI DIGIT NINE 796 791 } 797 792 798 793 static void addGeorgianCharacters(Map<Integer, Character> map) { 799 /* TODO Georgian characters 800 map.put(EXTENDED_KEYCODE_FLAG + 0x10D0, ''); // 801 map.put(EXTENDED_KEYCODE_FLAG + 0x10D1, ''); // 802 map.put(EXTENDED_KEYCODE_FLAG + 0x10D2, ''); // 803 map.put(EXTENDED_KEYCODE_FLAG + 0x10D3, ''); // 804 map.put(EXTENDED_KEYCODE_FLAG + 0x10D4, ''); // 805 map.put(EXTENDED_KEYCODE_FLAG + 0x10D5, ''); // 806 map.put(EXTENDED_KEYCODE_FLAG + 0x10D6, ''); // 807 map.put(EXTENDED_KEYCODE_FLAG + 0x10D7, ''); // 808 map.put(EXTENDED_KEYCODE_FLAG + 0x10D8, ''); // 809 map.put(EXTENDED_KEYCODE_FLAG + 0x10D9, ''); // 810 map.put(EXTENDED_KEYCODE_FLAG + 0x10DA, ''); // 811 map.put(EXTENDED_KEYCODE_FLAG + 0x10DB, ''); // 812 map.put(EXTENDED_KEYCODE_FLAG + 0x10DC, ''); // 813 map.put(EXTENDED_KEYCODE_FLAG + 0x10DD, ''); // 814 map.put(EXTENDED_KEYCODE_FLAG + 0x10DE, ''); // 815 map.put(EXTENDED_KEYCODE_FLAG + 0x10DF, ''); // 816 map.put(EXTENDED_KEYCODE_FLAG + 0x10E0, ''); // 817 map.put(EXTENDED_KEYCODE_FLAG + 0x10E1, ''); // 818 map.put(EXTENDED_KEYCODE_FLAG + 0x10E2, ''); // 819 map.put(EXTENDED_KEYCODE_FLAG + 0x10E3, ''); // 820 map.put(EXTENDED_KEYCODE_FLAG + 0x10E4, ''); // 821 map.put(EXTENDED_KEYCODE_FLAG + 0x10E5, ''); // 822 map.put(EXTENDED_KEYCODE_FLAG + 0x10E6, ''); // 823 map.put(EXTENDED_KEYCODE_FLAG + 0x10E7, ''); // 824 map.put(EXTENDED_KEYCODE_FLAG + 0x10E8, ''); // 825 map.put(EXTENDED_KEYCODE_FLAG + 0x10E9, ''); // 826 map.put(EXTENDED_KEYCODE_FLAG + 0x10EA, ''); // 827 map.put(EXTENDED_KEYCODE_FLAG + 0x10EB, ''); // 828 map.put(EXTENDED_KEYCODE_FLAG + 0x10EC, ''); // 829 map.put(EXTENDED_KEYCODE_FLAG + 0x10ED, ''); // 830 map.put(EXTENDED_KEYCODE_FLAG + 0x10EE, ''); // 831 map.put(EXTENDED_KEYCODE_FLAG + 0x10EF, ''); // 832 map.put(EXTENDED_KEYCODE_FLAG + 0x10F0, ''); // 833 */ 794 map.put(EXTENDED_KEYCODE_FLAG + 0x10D0, 'ა'); // GEORGIAN LETTER AN 795 map.put(EXTENDED_KEYCODE_FLAG + 0x10D1, 'ბ'); // GEORGIAN LETTER BAN 796 map.put(EXTENDED_KEYCODE_FLAG + 0x10D2, 'გ'); // GEORGIAN LETTER GAN 797 map.put(EXTENDED_KEYCODE_FLAG + 0x10D3, 'დ'); // GEORGIAN LETTER DON 798 map.put(EXTENDED_KEYCODE_FLAG + 0x10D4, 'ე'); // GEORGIAN LETTER EN 799 map.put(EXTENDED_KEYCODE_FLAG + 0x10D5, 'ვ'); // GEORGIAN LETTER VIN 800 map.put(EXTENDED_KEYCODE_FLAG + 0x10D6, 'ზ'); // GEORGIAN LETTER ZEN 801 map.put(EXTENDED_KEYCODE_FLAG + 0x10D7, 'თ'); // GEORGIAN LETTER TAN 802 map.put(EXTENDED_KEYCODE_FLAG + 0x10D8, 'ი'); // GEORGIAN LETTER IN 803 map.put(EXTENDED_KEYCODE_FLAG + 0x10D9, 'კ'); // GEORGIAN LETTER KAN 804 map.put(EXTENDED_KEYCODE_FLAG + 0x10DA, 'ლ'); // GEORGIAN LETTER LAS 805 map.put(EXTENDED_KEYCODE_FLAG + 0x10DB, 'მ'); // GEORGIAN LETTER MAN 806 map.put(EXTENDED_KEYCODE_FLAG + 0x10DC, 'ნ'); // GEORGIAN LETTER NAR 807 map.put(EXTENDED_KEYCODE_FLAG + 0x10DD, 'ო'); // GEORGIAN LETTER ON 808 map.put(EXTENDED_KEYCODE_FLAG + 0x10DE, 'პ'); // GEORGIAN LETTER PAR 809 map.put(EXTENDED_KEYCODE_FLAG + 0x10DF, 'ჟ'); // GEORGIAN LETTER ZHAR 810 map.put(EXTENDED_KEYCODE_FLAG + 0x10E0, 'რ'); // GEORGIAN LETTER RAE 811 map.put(EXTENDED_KEYCODE_FLAG + 0x10E1, 'ს'); // GEORGIAN LETTER SAN 812 map.put(EXTENDED_KEYCODE_FLAG + 0x10E2, 'ტ'); // GEORGIAN LETTER TAR 813 map.put(EXTENDED_KEYCODE_FLAG + 0x10E3, 'უ'); // GEORGIAN LETTER UN 814 map.put(EXTENDED_KEYCODE_FLAG + 0x10E4, 'ფ'); // GEORGIAN LETTER PHAR 815 map.put(EXTENDED_KEYCODE_FLAG + 0x10E5, 'ქ'); // GEORGIAN LETTER KHAR 816 map.put(EXTENDED_KEYCODE_FLAG + 0x10E6, 'ღ'); // GEORGIAN LETTER GHAN 817 map.put(EXTENDED_KEYCODE_FLAG + 0x10E7, 'ყ'); // GEORGIAN LETTER QAR 818 map.put(EXTENDED_KEYCODE_FLAG + 0x10E8, 'შ'); // GEORGIAN LETTER SHIN 819 map.put(EXTENDED_KEYCODE_FLAG + 0x10E9, 'ჩ'); // GEORGIAN LETTER CHIN 820 map.put(EXTENDED_KEYCODE_FLAG + 0x10EA, 'ც'); // GEORGIAN LETTER CAN 821 map.put(EXTENDED_KEYCODE_FLAG + 0x10EB, 'ძ'); // GEORGIAN LETTER JIL 822 map.put(EXTENDED_KEYCODE_FLAG + 0x10EC, 'წ'); // GEORGIAN LETTER CIL 823 map.put(EXTENDED_KEYCODE_FLAG + 0x10ED, 'ჭ'); // GEORGIAN LETTER CHAR 824 map.put(EXTENDED_KEYCODE_FLAG + 0x10EE, 'ხ'); // GEORGIAN LETTER XAN 825 map.put(EXTENDED_KEYCODE_FLAG + 0x10EF, 'ჯ'); // GEORGIAN LETTER JHAN 826 map.put(EXTENDED_KEYCODE_FLAG + 0x10F0, 'ჰ'); // GEORGIAN LETTER HAE 834 827 } 835 828
Note:
See TracChangeset
for help on using the changeset viewer.