18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* Do not edit this file! It was automatically generated by */ 38c2ecf20Sopenharmony_ci/* loadkeys --mktable defkeymap.map > defkeymap.c */ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/types.h> 68c2ecf20Sopenharmony_ci#include <linux/keyboard.h> 78c2ecf20Sopenharmony_ci#include <linux/kd.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciu_short plain_map[NR_KEYS] = { 108c2ecf20Sopenharmony_ci 0xf200, 0xf01b, 0xf031, 0xf032, 0xf033, 0xf034, 0xf035, 0xf036, 118c2ecf20Sopenharmony_ci 0xf037, 0xf038, 0xf039, 0xf030, 0xf02d, 0xf03d, 0xf07f, 0xf009, 128c2ecf20Sopenharmony_ci 0xfb71, 0xfb77, 0xfb65, 0xfb72, 0xfb74, 0xfb79, 0xfb75, 0xfb69, 138c2ecf20Sopenharmony_ci 0xfb6f, 0xfb70, 0xf05b, 0xf05d, 0xf201, 0xf702, 0xfb61, 0xfb73, 148c2ecf20Sopenharmony_ci 0xfb64, 0xfb66, 0xfb67, 0xfb68, 0xfb6a, 0xfb6b, 0xfb6c, 0xf03b, 158c2ecf20Sopenharmony_ci 0xf027, 0xf060, 0xf700, 0xf05c, 0xfb7a, 0xfb78, 0xfb63, 0xfb76, 168c2ecf20Sopenharmony_ci 0xfb62, 0xfb6e, 0xfb6d, 0xf02c, 0xf02e, 0xf02f, 0xf700, 0xf30c, 178c2ecf20Sopenharmony_ci 0xf703, 0xf020, 0xf207, 0xf100, 0xf101, 0xf102, 0xf103, 0xf104, 188c2ecf20Sopenharmony_ci 0xf105, 0xf106, 0xf107, 0xf108, 0xf109, 0xf208, 0xf209, 0xf307, 198c2ecf20Sopenharmony_ci 0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301, 208c2ecf20Sopenharmony_ci 0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf03c, 0xf10a, 218c2ecf20Sopenharmony_ci 0xf10b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 228c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603, 238c2ecf20Sopenharmony_ci 0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116, 248c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 258c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 268c2ecf20Sopenharmony_ci}; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciu_short shift_map[NR_KEYS] = { 298c2ecf20Sopenharmony_ci 0xf200, 0xf01b, 0xf021, 0xf040, 0xf023, 0xf024, 0xf025, 0xf05e, 308c2ecf20Sopenharmony_ci 0xf026, 0xf02a, 0xf028, 0xf029, 0xf05f, 0xf02b, 0xf07f, 0xf009, 318c2ecf20Sopenharmony_ci 0xfb51, 0xfb57, 0xfb45, 0xfb52, 0xfb54, 0xfb59, 0xfb55, 0xfb49, 328c2ecf20Sopenharmony_ci 0xfb4f, 0xfb50, 0xf07b, 0xf07d, 0xf201, 0xf702, 0xfb41, 0xfb53, 338c2ecf20Sopenharmony_ci 0xfb44, 0xfb46, 0xfb47, 0xfb48, 0xfb4a, 0xfb4b, 0xfb4c, 0xf03a, 348c2ecf20Sopenharmony_ci 0xf022, 0xf07e, 0xf700, 0xf07c, 0xfb5a, 0xfb58, 0xfb43, 0xfb56, 358c2ecf20Sopenharmony_ci 0xfb42, 0xfb4e, 0xfb4d, 0xf03c, 0xf03e, 0xf03f, 0xf700, 0xf30c, 368c2ecf20Sopenharmony_ci 0xf703, 0xf020, 0xf207, 0xf10a, 0xf10b, 0xf10c, 0xf10d, 0xf10e, 378c2ecf20Sopenharmony_ci 0xf10f, 0xf110, 0xf111, 0xf112, 0xf113, 0xf213, 0xf203, 0xf307, 388c2ecf20Sopenharmony_ci 0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301, 398c2ecf20Sopenharmony_ci 0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf03e, 0xf10a, 408c2ecf20Sopenharmony_ci 0xf10b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 418c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603, 428c2ecf20Sopenharmony_ci 0xf20b, 0xf601, 0xf602, 0xf117, 0xf600, 0xf20a, 0xf115, 0xf116, 438c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 448c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 458c2ecf20Sopenharmony_ci}; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ciu_short altgr_map[NR_KEYS] = { 488c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf040, 0xf200, 0xf024, 0xf200, 0xf200, 498c2ecf20Sopenharmony_ci 0xf07b, 0xf05b, 0xf05d, 0xf07d, 0xf05c, 0xf200, 0xf200, 0xf200, 508c2ecf20Sopenharmony_ci 0xfb71, 0xfb77, 0xf918, 0xfb72, 0xfb74, 0xfb79, 0xfb75, 0xfb69, 518c2ecf20Sopenharmony_ci 0xfb6f, 0xfb70, 0xf200, 0xf07e, 0xf201, 0xf702, 0xf914, 0xfb73, 528c2ecf20Sopenharmony_ci 0xf917, 0xf919, 0xfb67, 0xfb68, 0xfb6a, 0xfb6b, 0xfb6c, 0xf200, 538c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf700, 0xf200, 0xfb7a, 0xfb78, 0xf916, 0xfb76, 548c2ecf20Sopenharmony_ci 0xf915, 0xfb6e, 0xfb6d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c, 558c2ecf20Sopenharmony_ci 0xf703, 0xf200, 0xf207, 0xf50c, 0xf50d, 0xf50e, 0xf50f, 0xf510, 568c2ecf20Sopenharmony_ci 0xf511, 0xf512, 0xf513, 0xf514, 0xf515, 0xf208, 0xf202, 0xf911, 578c2ecf20Sopenharmony_ci 0xf912, 0xf913, 0xf30b, 0xf90e, 0xf90f, 0xf910, 0xf30a, 0xf90b, 588c2ecf20Sopenharmony_ci 0xf90c, 0xf90d, 0xf90a, 0xf310, 0xf206, 0xf200, 0xf07c, 0xf516, 598c2ecf20Sopenharmony_ci 0xf517, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 608c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603, 618c2ecf20Sopenharmony_ci 0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116, 628c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 638c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 648c2ecf20Sopenharmony_ci}; 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciu_short ctrl_map[NR_KEYS] = { 678c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf000, 0xf01b, 0xf01c, 0xf01d, 0xf01e, 688c2ecf20Sopenharmony_ci 0xf01f, 0xf07f, 0xf200, 0xf200, 0xf01f, 0xf200, 0xf008, 0xf200, 698c2ecf20Sopenharmony_ci 0xf011, 0xf017, 0xf005, 0xf012, 0xf014, 0xf019, 0xf015, 0xf009, 708c2ecf20Sopenharmony_ci 0xf00f, 0xf010, 0xf01b, 0xf01d, 0xf201, 0xf702, 0xf001, 0xf013, 718c2ecf20Sopenharmony_ci 0xf004, 0xf006, 0xf007, 0xf008, 0xf00a, 0xf00b, 0xf00c, 0xf200, 728c2ecf20Sopenharmony_ci 0xf007, 0xf000, 0xf700, 0xf01c, 0xf01a, 0xf018, 0xf003, 0xf016, 738c2ecf20Sopenharmony_ci 0xf002, 0xf00e, 0xf00d, 0xf200, 0xf20e, 0xf07f, 0xf700, 0xf30c, 748c2ecf20Sopenharmony_ci 0xf703, 0xf000, 0xf207, 0xf100, 0xf101, 0xf102, 0xf103, 0xf104, 758c2ecf20Sopenharmony_ci 0xf105, 0xf106, 0xf107, 0xf108, 0xf109, 0xf208, 0xf204, 0xf307, 768c2ecf20Sopenharmony_ci 0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301, 778c2ecf20Sopenharmony_ci 0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf200, 0xf10a, 788c2ecf20Sopenharmony_ci 0xf10b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 798c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603, 808c2ecf20Sopenharmony_ci 0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116, 818c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 828c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 838c2ecf20Sopenharmony_ci}; 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ciu_short shift_ctrl_map[NR_KEYS] = { 868c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf000, 0xf200, 0xf200, 0xf200, 0xf200, 878c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf01f, 0xf200, 0xf200, 0xf200, 888c2ecf20Sopenharmony_ci 0xf011, 0xf017, 0xf005, 0xf012, 0xf014, 0xf019, 0xf015, 0xf009, 898c2ecf20Sopenharmony_ci 0xf00f, 0xf010, 0xf200, 0xf200, 0xf201, 0xf702, 0xf001, 0xf013, 908c2ecf20Sopenharmony_ci 0xf004, 0xf006, 0xf007, 0xf008, 0xf00a, 0xf00b, 0xf00c, 0xf200, 918c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf700, 0xf200, 0xf01a, 0xf018, 0xf003, 0xf016, 928c2ecf20Sopenharmony_ci 0xf002, 0xf00e, 0xf00d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c, 938c2ecf20Sopenharmony_ci 0xf703, 0xf200, 0xf207, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 948c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf208, 0xf200, 0xf307, 958c2ecf20Sopenharmony_ci 0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301, 968c2ecf20Sopenharmony_ci 0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf200, 0xf200, 978c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 988c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603, 998c2ecf20Sopenharmony_ci 0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116, 1008c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 1018c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1028c2ecf20Sopenharmony_ci}; 1038c2ecf20Sopenharmony_ci 1048c2ecf20Sopenharmony_ciu_short alt_map[NR_KEYS] = { 1058c2ecf20Sopenharmony_ci 0xf200, 0xf81b, 0xf831, 0xf832, 0xf833, 0xf834, 0xf835, 0xf836, 1068c2ecf20Sopenharmony_ci 0xf837, 0xf838, 0xf839, 0xf830, 0xf82d, 0xf83d, 0xf87f, 0xf809, 1078c2ecf20Sopenharmony_ci 0xf871, 0xf877, 0xf865, 0xf872, 0xf874, 0xf879, 0xf875, 0xf869, 1088c2ecf20Sopenharmony_ci 0xf86f, 0xf870, 0xf85b, 0xf85d, 0xf80d, 0xf702, 0xf861, 0xf873, 1098c2ecf20Sopenharmony_ci 0xf864, 0xf866, 0xf867, 0xf868, 0xf86a, 0xf86b, 0xf86c, 0xf83b, 1108c2ecf20Sopenharmony_ci 0xf827, 0xf860, 0xf700, 0xf85c, 0xf87a, 0xf878, 0xf863, 0xf876, 1118c2ecf20Sopenharmony_ci 0xf862, 0xf86e, 0xf86d, 0xf82c, 0xf82e, 0xf82f, 0xf700, 0xf30c, 1128c2ecf20Sopenharmony_ci 0xf703, 0xf820, 0xf207, 0xf500, 0xf501, 0xf502, 0xf503, 0xf504, 1138c2ecf20Sopenharmony_ci 0xf505, 0xf506, 0xf507, 0xf508, 0xf509, 0xf208, 0xf209, 0xf907, 1148c2ecf20Sopenharmony_ci 0xf908, 0xf909, 0xf30b, 0xf904, 0xf905, 0xf906, 0xf30a, 0xf901, 1158c2ecf20Sopenharmony_ci 0xf902, 0xf903, 0xf900, 0xf310, 0xf206, 0xf200, 0xf83c, 0xf50a, 1168c2ecf20Sopenharmony_ci 0xf50b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1178c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603, 1188c2ecf20Sopenharmony_ci 0xf118, 0xf210, 0xf211, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116, 1198c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 1208c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1218c2ecf20Sopenharmony_ci}; 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ciu_short ctrl_alt_map[NR_KEYS] = { 1248c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1258c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1268c2ecf20Sopenharmony_ci 0xf811, 0xf817, 0xf805, 0xf812, 0xf814, 0xf819, 0xf815, 0xf809, 1278c2ecf20Sopenharmony_ci 0xf80f, 0xf810, 0xf200, 0xf200, 0xf201, 0xf702, 0xf801, 0xf813, 1288c2ecf20Sopenharmony_ci 0xf804, 0xf806, 0xf807, 0xf808, 0xf80a, 0xf80b, 0xf80c, 0xf200, 1298c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf700, 0xf200, 0xf81a, 0xf818, 0xf803, 0xf816, 1308c2ecf20Sopenharmony_ci 0xf802, 0xf80e, 0xf80d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c, 1318c2ecf20Sopenharmony_ci 0xf703, 0xf200, 0xf207, 0xf500, 0xf501, 0xf502, 0xf503, 0xf504, 1328c2ecf20Sopenharmony_ci 0xf505, 0xf506, 0xf507, 0xf508, 0xf509, 0xf208, 0xf200, 0xf307, 1338c2ecf20Sopenharmony_ci 0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301, 1348c2ecf20Sopenharmony_ci 0xf302, 0xf303, 0xf300, 0xf20c, 0xf206, 0xf200, 0xf200, 0xf50a, 1358c2ecf20Sopenharmony_ci 0xf50b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1368c2ecf20Sopenharmony_ci 0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603, 1378c2ecf20Sopenharmony_ci 0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf20c, 1388c2ecf20Sopenharmony_ci 0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d, 1398c2ecf20Sopenharmony_ci 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 1408c2ecf20Sopenharmony_ci}; 1418c2ecf20Sopenharmony_ci 1428c2ecf20Sopenharmony_ciushort *key_maps[MAX_NR_KEYMAPS] = { 1438c2ecf20Sopenharmony_ci plain_map, shift_map, altgr_map, NULL, 1448c2ecf20Sopenharmony_ci ctrl_map, shift_ctrl_map, NULL, NULL, 1458c2ecf20Sopenharmony_ci alt_map, NULL, NULL, NULL, 1468c2ecf20Sopenharmony_ci ctrl_alt_map, NULL 1478c2ecf20Sopenharmony_ci}; 1488c2ecf20Sopenharmony_ci 1498c2ecf20Sopenharmony_ciunsigned int keymap_count = 7; 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ci/* 1528c2ecf20Sopenharmony_ci * Philosophy: most people do not define more strings, but they who do 1538c2ecf20Sopenharmony_ci * often want quite a lot of string space. So, we statically allocate 1548c2ecf20Sopenharmony_ci * the default and allocate dynamically in chunks of 512 bytes. 1558c2ecf20Sopenharmony_ci */ 1568c2ecf20Sopenharmony_ci 1578c2ecf20Sopenharmony_cichar func_buf[] = { 1588c2ecf20Sopenharmony_ci '\033', '[', '[', 'A', 0, 1598c2ecf20Sopenharmony_ci '\033', '[', '[', 'B', 0, 1608c2ecf20Sopenharmony_ci '\033', '[', '[', 'C', 0, 1618c2ecf20Sopenharmony_ci '\033', '[', '[', 'D', 0, 1628c2ecf20Sopenharmony_ci '\033', '[', '[', 'E', 0, 1638c2ecf20Sopenharmony_ci '\033', '[', '1', '7', '~', 0, 1648c2ecf20Sopenharmony_ci '\033', '[', '1', '8', '~', 0, 1658c2ecf20Sopenharmony_ci '\033', '[', '1', '9', '~', 0, 1668c2ecf20Sopenharmony_ci '\033', '[', '2', '0', '~', 0, 1678c2ecf20Sopenharmony_ci '\033', '[', '2', '1', '~', 0, 1688c2ecf20Sopenharmony_ci '\033', '[', '2', '3', '~', 0, 1698c2ecf20Sopenharmony_ci '\033', '[', '2', '4', '~', 0, 1708c2ecf20Sopenharmony_ci '\033', '[', '2', '5', '~', 0, 1718c2ecf20Sopenharmony_ci '\033', '[', '2', '6', '~', 0, 1728c2ecf20Sopenharmony_ci '\033', '[', '2', '8', '~', 0, 1738c2ecf20Sopenharmony_ci '\033', '[', '2', '9', '~', 0, 1748c2ecf20Sopenharmony_ci '\033', '[', '3', '1', '~', 0, 1758c2ecf20Sopenharmony_ci '\033', '[', '3', '2', '~', 0, 1768c2ecf20Sopenharmony_ci '\033', '[', '3', '3', '~', 0, 1778c2ecf20Sopenharmony_ci '\033', '[', '3', '4', '~', 0, 1788c2ecf20Sopenharmony_ci '\033', '[', '1', '~', 0, 1798c2ecf20Sopenharmony_ci '\033', '[', '2', '~', 0, 1808c2ecf20Sopenharmony_ci '\033', '[', '3', '~', 0, 1818c2ecf20Sopenharmony_ci '\033', '[', '4', '~', 0, 1828c2ecf20Sopenharmony_ci '\033', '[', '5', '~', 0, 1838c2ecf20Sopenharmony_ci '\033', '[', '6', '~', 0, 1848c2ecf20Sopenharmony_ci '\033', '[', 'M', 0, 1858c2ecf20Sopenharmony_ci '\033', '[', 'P', 0, 1868c2ecf20Sopenharmony_ci}; 1878c2ecf20Sopenharmony_ci 1888c2ecf20Sopenharmony_cichar *funcbufptr = func_buf; 1898c2ecf20Sopenharmony_ciint funcbufsize = sizeof(func_buf); 1908c2ecf20Sopenharmony_ciint funcbufleft = 0; /* space left */ 1918c2ecf20Sopenharmony_ci 1928c2ecf20Sopenharmony_cichar *func_table[MAX_NR_FUNC] = { 1938c2ecf20Sopenharmony_ci func_buf + 0, 1948c2ecf20Sopenharmony_ci func_buf + 5, 1958c2ecf20Sopenharmony_ci func_buf + 10, 1968c2ecf20Sopenharmony_ci func_buf + 15, 1978c2ecf20Sopenharmony_ci func_buf + 20, 1988c2ecf20Sopenharmony_ci func_buf + 25, 1998c2ecf20Sopenharmony_ci func_buf + 31, 2008c2ecf20Sopenharmony_ci func_buf + 37, 2018c2ecf20Sopenharmony_ci func_buf + 43, 2028c2ecf20Sopenharmony_ci func_buf + 49, 2038c2ecf20Sopenharmony_ci func_buf + 55, 2048c2ecf20Sopenharmony_ci func_buf + 61, 2058c2ecf20Sopenharmony_ci func_buf + 67, 2068c2ecf20Sopenharmony_ci func_buf + 73, 2078c2ecf20Sopenharmony_ci func_buf + 79, 2088c2ecf20Sopenharmony_ci func_buf + 85, 2098c2ecf20Sopenharmony_ci func_buf + 91, 2108c2ecf20Sopenharmony_ci func_buf + 97, 2118c2ecf20Sopenharmony_ci func_buf + 103, 2128c2ecf20Sopenharmony_ci func_buf + 109, 2138c2ecf20Sopenharmony_ci func_buf + 115, 2148c2ecf20Sopenharmony_ci func_buf + 120, 2158c2ecf20Sopenharmony_ci func_buf + 125, 2168c2ecf20Sopenharmony_ci func_buf + 130, 2178c2ecf20Sopenharmony_ci func_buf + 135, 2188c2ecf20Sopenharmony_ci func_buf + 140, 2198c2ecf20Sopenharmony_ci func_buf + 145, 2208c2ecf20Sopenharmony_ci NULL, 2218c2ecf20Sopenharmony_ci NULL, 2228c2ecf20Sopenharmony_ci func_buf + 149, 2238c2ecf20Sopenharmony_ci NULL, 2248c2ecf20Sopenharmony_ci}; 2258c2ecf20Sopenharmony_ci 2268c2ecf20Sopenharmony_cistruct kbdiacruc accent_table[MAX_DIACR] = { 2278c2ecf20Sopenharmony_ci {'`', 'A', 0300}, {'`', 'a', 0340}, 2288c2ecf20Sopenharmony_ci {'\'', 'A', 0301}, {'\'', 'a', 0341}, 2298c2ecf20Sopenharmony_ci {'^', 'A', 0302}, {'^', 'a', 0342}, 2308c2ecf20Sopenharmony_ci {'~', 'A', 0303}, {'~', 'a', 0343}, 2318c2ecf20Sopenharmony_ci {'"', 'A', 0304}, {'"', 'a', 0344}, 2328c2ecf20Sopenharmony_ci {'O', 'A', 0305}, {'o', 'a', 0345}, 2338c2ecf20Sopenharmony_ci {'0', 'A', 0305}, {'0', 'a', 0345}, 2348c2ecf20Sopenharmony_ci {'A', 'A', 0305}, {'a', 'a', 0345}, 2358c2ecf20Sopenharmony_ci {'A', 'E', 0306}, {'a', 'e', 0346}, 2368c2ecf20Sopenharmony_ci {',', 'C', 0307}, {',', 'c', 0347}, 2378c2ecf20Sopenharmony_ci {'`', 'E', 0310}, {'`', 'e', 0350}, 2388c2ecf20Sopenharmony_ci {'\'', 'E', 0311}, {'\'', 'e', 0351}, 2398c2ecf20Sopenharmony_ci {'^', 'E', 0312}, {'^', 'e', 0352}, 2408c2ecf20Sopenharmony_ci {'"', 'E', 0313}, {'"', 'e', 0353}, 2418c2ecf20Sopenharmony_ci {'`', 'I', 0314}, {'`', 'i', 0354}, 2428c2ecf20Sopenharmony_ci {'\'', 'I', 0315}, {'\'', 'i', 0355}, 2438c2ecf20Sopenharmony_ci {'^', 'I', 0316}, {'^', 'i', 0356}, 2448c2ecf20Sopenharmony_ci {'"', 'I', 0317}, {'"', 'i', 0357}, 2458c2ecf20Sopenharmony_ci {'-', 'D', 0320}, {'-', 'd', 0360}, 2468c2ecf20Sopenharmony_ci {'~', 'N', 0321}, {'~', 'n', 0361}, 2478c2ecf20Sopenharmony_ci {'`', 'O', 0322}, {'`', 'o', 0362}, 2488c2ecf20Sopenharmony_ci {'\'', 'O', 0323}, {'\'', 'o', 0363}, 2498c2ecf20Sopenharmony_ci {'^', 'O', 0324}, {'^', 'o', 0364}, 2508c2ecf20Sopenharmony_ci {'~', 'O', 0325}, {'~', 'o', 0365}, 2518c2ecf20Sopenharmony_ci {'"', 'O', 0326}, {'"', 'o', 0366}, 2528c2ecf20Sopenharmony_ci {'/', 'O', 0330}, {'/', 'o', 0370}, 2538c2ecf20Sopenharmony_ci {'`', 'U', 0331}, {'`', 'u', 0371}, 2548c2ecf20Sopenharmony_ci {'\'', 'U', 0332}, {'\'', 'u', 0372}, 2558c2ecf20Sopenharmony_ci {'^', 'U', 0333}, {'^', 'u', 0373}, 2568c2ecf20Sopenharmony_ci {'"', 'U', 0334}, {'"', 'u', 0374}, 2578c2ecf20Sopenharmony_ci {'\'', 'Y', 0335}, {'\'', 'y', 0375}, 2588c2ecf20Sopenharmony_ci {'T', 'H', 0336}, {'t', 'h', 0376}, 2598c2ecf20Sopenharmony_ci {'s', 's', 0337}, {'"', 'y', 0377}, 2608c2ecf20Sopenharmony_ci {'s', 'z', 0337}, {'i', 'j', 0377}, 2618c2ecf20Sopenharmony_ci}; 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ciunsigned int accent_table_size = 68; 264