bug 10765: fix step 3 - tranlation map for japanese keyboard on japanese host VM to japanese keyboard on guest VM

This commit is contained in:
Kelven Yang 2011-08-04 18:46:15 -07:00
parent d10c8e2a1d
commit c8c329760d

View File

@ -709,6 +709,12 @@ AjaxViewer.prototype = {
keyCodeMap[110] = { code: 190, shift : 0 }; // JP NUM .
charCodeMap[46] = { code: 46, shift : 0 };
keyCodeMap[193] = { code: 220, shift : 0, charCode: 92 }; // JP key left to right shift on JP keyboard
shiftedKeyCodeMap[193] = { code: 189, shift: 1, charCode: 64 };
keyCodeMap[255] = { code: 220, shift : 0, charCode: 92 }; // JP Japanese Yen mark on JP keyboard
shiftedKeyCodeMap[255] = { code: 220, shift: 1, charCode: 95 };
this.keyboardMappers[AjaxViewer.KEYBOARD_TYPE_JAPAN_JP_OS_TO_JP_VM] = new KeyboardMapper(false, keyCodeMap, shiftedKeyCodeMap,
charCodeMap, shiftedCharCodeMap);
},