Re: BP-Neutrino image arabic language
Verfasst: Sa 24. Feb 2018, 23:38
Ahhh... I have found the keyboard... It is hardcoded at neutrino, this file -> https://github.com/Duckbox-Developers/n ... ut.cpp#L44
You need to create a new keyboard block for your language. Here english (renamed to arabic), so you can change this to arabic.
Please change the key fields only, do not add new or remove any fields.
You need to create a new keyboard block for your language. Here english (renamed to arabic), so you can change this to arabic.
- static std::string keys_arabic[2][KEY_ROWS][KEY_COLUMNS] =
- {
- {
- { "`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "§" },
- { "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "{", "}" },
- { "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "\'", "\\", ":", "\"" },
- { "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "<", ">", "?", " " }
- },
- {
- { "~", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "+", "§", },
- { "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "{", "}", "{", "}" },
- { "A", "S", "D", "F", "G", "H", "J", "K", "L", ";", "\'", "\\", ":", "\"" },
- { "Z", "X", "C", "V", "B", "N", "M", ",", ".", "/", "<", ">", "?", " " }
- }
- };