()
| 3033 | } |
| 3034 | |
| 3035 | _handleLedEvent() { |
| 3036 | if (this._sock.rQwait("LED status", 1)) { |
| 3037 | return false; |
| 3038 | } |
| 3039 | |
| 3040 | let data = this._sock.rQshift8(); |
| 3041 | // ScrollLock state can be retrieved with data & 1. This is currently not needed. |
| 3042 | let numLock = data & 2 ? true : false; |
| 3043 | let capsLock = data & 4 ? true : false; |
| 3044 | this._remoteCapsLock = capsLock; |
| 3045 | this._remoteNumLock = numLock; |
| 3046 | |
| 3047 | return true; |
| 3048 | } |
| 3049 | |
| 3050 | _handleExtendedDesktopSize() { |
| 3051 | if (this._sock.rQwait("ExtendedDesktopSize", 4)) { |
no test coverage detected