Skip to content

Commit

Permalink
noVNC: fix JP Shift+0
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Sep 4, 2023
1 parent 6b16a8b commit 55609d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions systemvm/agent/noVNC/core/rfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ export default class RFB extends EventTargetMixin {

RFB.messages.QEMUExtendedKeyEvent(this._sock, keysym, down, scancode);
} else if (Object.keys(this._scancodes).length > 0) {
if (this._language === "jp" && keysym === 48 && this._shiftPressed) {
return; // Shift + 0
}
let vscancode = this._scancodes[keysym]
if (vscancode) {
let shifted = vscancode.includes("shift");
Expand Down

0 comments on commit 55609d6

Please sign in to comment.