Home > @rainway/web > IInputBodyInner
IInputBodyInner type
Inner body of an input datagram
Signature:
export declare type IInputBodyInner = {
discriminator: 1;
value: IGamepadReport;
} | {
discriminator: 2;
value: IGamepadRumble;
} | {
discriminator: 3;
value: IMouseAbsolute;
} | {
discriminator: 4;
value: IMouseRelative;
} | {
discriminator: 5;
value: IMouseClick;
} | {
discriminator: 6;
value: IMouseScroll;
} | {
discriminator: 7;
value: IKeyboardInput;
} | {
discriminator: 8;
value: ILogicalInput;
} | {
discriminator: 9;
value: ITouchesAbsolute;
} | {
discriminator: 10;
value: IPenAbsolute;
} | {
discriminator: 11;
value: IViewportResize;
} | {
discriminator: 12;
value: ISetClipboardText;
};
References: IGamepadReport, IGamepadRumble, IMouseAbsolute, IMouseRelative, IMouseClick, IMouseScroll, IKeyboardInput, ILogicalInput, ITouchesAbsolute, IPenAbsolute, IViewportResize, ISetClipboardText