mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
d10c8e2a1d
commit
c8c329760d
@ -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);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user