Commit a5f197b
refactor: retire wheelReport JSON-RPC fallback
Per PR review (#1462): the Cloud SPA is versioned and LAN access
always serves a matching Go API and JS SPA, so the backwards-compat
fallback is unnecessary. Drop the `rpcHidReady ? binary : send(...)`
branch from getMouseWheelHandler — always use the binary path —
and remove the `wheelReport` entry from the JSON-RPC handler map.
The binary 0x04 dispatch and rpcWheelReport itself stay; the
function is now reached only via handleHidRPCMessage.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent a5f6d70 commit a5f197b
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1256 | 1256 | | |
1257 | 1257 | | |
1258 | 1258 | | |
1259 | | - | |
1260 | 1259 | | |
1261 | 1260 | | |
1262 | 1261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 141 | + | |
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
150 | 145 | | |
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
154 | | - | |
| 149 | + | |
155 | 150 | | |
156 | 151 | | |
157 | 152 | | |
| |||
0 commit comments