I’m trying to think if there’s a better approach but the easiest one that comes to mind is just to cast it to ArcRotateCameraPointersInput
:
let pointers: BABYLON.ArcRotateCameraPointersInput = camera.inputs.attached.pointers as BABYLON.ArcRotateCameraPointersInput;
pointers.buttons = [0, 2];