Skip to content

Commit fb319d2

Browse files
committed
noVNC: fix Caps lock on JP keyboard
1 parent 53fbc15 commit fb319d2

File tree

1 file changed

+3
-0
lines changed
  • systemvm/agent/noVNC/core

1 file changed

+3
-0
lines changed

systemvm/agent/noVNC/core/rfb.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ export default class RFB extends EventTargetMixin {
550550
RFB.messages.keyEvent(this._sock, this._shiftKey, 1);
551551
}
552552
} else {
553+
if (this._language === "jp" && keysym === 65328) {
554+
keysym = 65509; // Caps lock
555+
}
553556
RFB.messages.keyEvent(this._sock, keysym, down ? 1 : 0);
554557
}
555558
} else {

0 commit comments

Comments
 (0)