Home > @rainway/native > RainwayInputDef
RainwayInputDef variable
Signature:
RainwayInputDef: refStructDi.StructType<{
tag: ref.Type<number>;
union: ref.Type<refUnionDi.UnionObject<{
GAMEPAD_REPORT: refStructDi.StructObject<{
buttons: number;
leftTrigger: number;
rightTrigger: number;
leftThumbX: number;
leftThumbY: number;
rightThumbX: number;
rightThumbY: number;
slot: number;
}>;
GAMEPAD_RUMBLE: refStructDi.StructObject<{
port: number;
leftMotorSpeed: number;
rightMotorSpeed: number;
}>;
MOUSE_ABSOLUTE: refStructDi.StructObject<{
x: number;
y: number;
}>;
MOUSE_RELATIVE: refStructDi.StructObject<{
dx: number;
dy: number;
}>;
MOUSE_CLICK: refStructDi.StructObject<{
action: number;
button: number;
}>;
MOUSE_SCROLL: refStructDi.StructObject<{
axis: number;
delta: number;
}>;
KEYBOARD_INPUT: refStructDi.StructObject<{
action: number;
keycode: number;
}>;
LOGICAL_INPUT: refStructDi.StructObject<{
inputString: string | null;
}>;
TOUCHES_ABSOLUTE: refStructDi.StructObject<{
touches: ref.Pointer<refStructDi.StructObject<{
pointerInfo: refStructDi.StructObject<{
pointerId: number;
frameId: number;
pointerFlags: number;
x: number;
y: number;
}>;
touchMask: number;
contactLeft: number;
contactTop: number;
contactRight: number;
contactBottom: number;
orientation: number;
pressure: number;
}>>;
numTouches: string | number;
}>;
PEN_ABSOLUTE: refStructDi.StructObject<{
pointerId: number;
frameId: number;
pointerFlags: number;
x: number;
y: number;
penFlags: number;
penMask: number;
pressure: number;
rotation: number;
tiltX: number;
tiltY: number;
}>;
VIEWPORT_RESIZE: refStructDi.StructObject<{
width: number;
height: number;
}>;
SET_CLIPBOARD_TEXT: refStructDi.StructObject<{
text: string | null;
}>;
}>>;
}>