[ https://issues.apache.org/jira/browse/GUACAMOLE-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391357#comment-16391357 ]
Amarjeet Singh edited comment on GUACAMOLE-520 at 3/8/18 3:00 PM: ------------------------------------------------------------------ Following special keys are not working :- while pressing the backslash ( IntlYen , keyCode = 255 ) key from the japanese keyboard It is not printing anything. while pressing the @ key from the japanese key it is printing ] which is incorrect. while pressing the [ key from the japanese key it is printing backslash ( IntlYen , keyCode = 255 ) which is incorrect. while pressing the ] key from the japanese key It is not printing anything. while pressing the : key from the japanese key It is printing & which is incorrect while pressing the \ key from the japanese key It is not printing anything. I have analysed the following mapping of keys in the src/protocols/rdp/keymaps/ ja_jp_qwerty.keymap file parent "base" name "ja-jp-qwerty" freerdp "KBD_JAPANESE" map -shift 0x02..0x0D 0x7D ~ "1234567890-^\" map -shift 0x10..0x1B ~ "qwertyuiop@[" map -shift 0x1E..0x28 0x2B ~ "asdfghjkl;:]" map -shift 0x2C..0x35 0x73 ~ "zxcvbnm,./\" map +shift 0x02..0x0A 0x0C 0x0D 0x7D ~ "!"#$%&'()=~|" map +shift 0x10..0x1B ~ "QWERTYUIOP`{" map +shift 0x1E..0x28 0x2B ~ "ASDFGHJKL+*}" map +shift 0x2C..0x35 0x73 ~ "ZXCVBNM<>?_" map -shift 0x29 ~ 0xFF28 map -shift 0x29 ~ 0xFF2A map +shift 0x29 ~ 0xFF29 I have changed it to the following and everything is working fine. All the keys are working fine in Japanese keyboard. parent "base" name "ja-jp-qwerty" freerdp "KBD_JAPANESE" #freerdp "KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002" map -shift 0x02..0x0C 0x2B ~ "1234567890-\" map -shift 0x10..0x1A ~ "qwertyuiop[" map -shift 0x1E..0x27 0x1B ~ "asdfghjkl;]" map -shift 0x2C..0x35 ~ "zxcvbnm,./" map +shift 0x02 0x28 0x04 0x05 0x06 0x08 0x0A 0x0B 0x29 0x2B ~ "!"#$%&()~|" map +shift 0x10..0x1A ~ "QWERTYUIOP{" map +shift 0x1E..0x26 0x0D 0x09 0x1B ~ "ASDFGHJKL+*}" map +shift 0x2C..0x35 0x0C ~ "ZXCVBNM<>?_" map -shift 0x29 ~ 0xFF28 map -shift 0x29 ~ 0xFF2A map +shift 0x29 ~ 0xFF29 map +shift 0x07 0x03 0x27 ~ "^@:" map -shift 0x28 0x0D 0x29 ~ "'=`" Please find the attachment of the above file . Please verify the above changes. If there is anything which I missed, please let me know. was (Author: amarjeetxc): Following special keys are not working :- # while pressing the backslash ( IntlYen , keyCode = 255 ) key from the japanese keyboard It is not printing anything. # while pressing the @ key from the japanese key it is printing ] which is incorrect. # while pressing the [ key from the japanese key it is printing backslash ( IntlYen , keyCode = 255 ) which is incorrect. # while pressing the ] key from the japanese key It is not printing anything. # while pressing the : key from the japanese key It is printing & which is incorrect # while pressing the \ key from the japanese key It is not printing anything. I have analysed the following mapping of keys in the src/protocols/rdp/keymaps/ ja_jp_qwerty.keymap file {color:red} parent "base" name "ja-jp-qwerty" freerdp "KBD_JAPANESE" map -shift 0x02..0x0D 0x7D ~ "1234567890-^\" map -shift 0x10..0x1B ~ "qwertyuiop@[" map -shift 0x1E..0x28 0x2B ~ "asdfghjkl;:]" map -shift 0x2C..0x35 0x73 ~ "zxcvbnm,./\" map +shift 0x02..0x0A 0x0C 0x0D 0x7D ~ "!"#$%&'()=~|" map +shift 0x10..0x1B ~ "QWERTYUIOP`{" map +shift 0x1E..0x28 0x2B ~ "ASDFGHJKL+*}" map +shift 0x2C..0x35 0x73 ~ "ZXCVBNM<>?_" map -shift 0x29 ~ 0xFF28 map -shift 0x29 ~ 0xFF2A map +shift 0x29 ~ 0xFF29 {color} I have changed it to the following and everything is working fine. All the keys are working fine in Japanese keyboard. {color:#14892c} parent "base" name "ja-jp-qwerty" freerdp "KBD_JAPANESE" #freerdp "KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002" map -shift 0x02..0x0C 0x2B ~ "1234567890-\" map -shift 0x10..0x1A ~ "qwertyuiop[" map -shift 0x1E..0x27 0x1B ~ "asdfghjkl;]" map -shift 0x2C..0x35 ~ "zxcvbnm,./" map +shift 0x02 0x28 0x04 0x05 0x06 0x08 0x0A 0x0B 0x29 0x2B ~ "!"#$%&()~|" map +shift 0x10..0x1A ~ "QWERTYUIOP{" map +shift 0x1E..0x26 0x0D 0x09 0x1B ~ "ASDFGHJKL+*}" map +shift 0x2C..0x35 0x0C ~ "ZXCVBNM<>?_" map -shift 0x29 ~ 0xFF28 map -shift 0x29 ~ 0xFF2A map +shift 0x29 ~ 0xFF29 map +shift 0x07 0x03 0x27 ~ "^@:" map -shift 0x28 0x0D 0x29 ~ "'=`" {color} Please find the attachment of the above file . Please verify the above changes. If there is anything which I missed, please let me know. > Issues with Japanese Keys from Japanese Keyboard in Japanese OS > --------------------------------------------------------------- > > Key: GUACAMOLE-520 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-520 > Project: Guacamole > Issue Type: Bug > Components: guacamole > Affects Versions: 0.9.14 > Reporter: Amarjeet Singh > Priority: Minor > Attachments: ja_jp_qwerty.keymap > > > Apache Guacamole Discussion Thread Link is as follows :- > [http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Fwd-ISSUES-with-Japanese-Keys-from-Japanese-Keyboard-in-Japanese-OS-td2924.html|http://example.com] > Local Operating System : Windows 10 [ Japanese Keyboard layout ] > Remote Operating System : Windows 10 [ Japanese Keyboard layout ] > Browser : Chrome > Guacamole-Client and Guacamole-Server [ Latest code from GIT ] > *server-layout is : ja-jp-qwerty* -- This message was sent by Atlassian JIRA (v7.6.3#76005)