refactor(scrcpy) make large enums tree-shakeable (#798)

This commit is contained in:
Simon Chan 2025-09-11 10:31:01 +08:00 committed by GitHub
parent b2512856be
commit 27a6614680
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
89 changed files with 1056 additions and 1089 deletions

View file

@ -6,6 +6,7 @@ import type { ScrcpyInjectScrollControlMessage } from "../../latest.js";
export const InjectScrollControlMessage = struct(
{
// value of `type` can change between versions
type: u8,
pointerX: u32,
pointerY: u32,