Commit a395b66
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 06b5eab commit a395b66
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | | - | |
1348 | 1347 | | |
1349 | 1348 | | |
1350 | 1349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 145 | + | |
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
154 | 149 | | |
155 | 150 | | |
156 | 151 | | |
157 | 152 | | |
158 | | - | |
| 153 | + | |
159 | 154 | | |
160 | 155 | | |
161 | 156 | | |
| |||
0 commit comments