InputEvent Objekt
typestring - Kannundefined,mouseDown,mouseUp,mouseMove,mouseEnter,mouseLeave,contextMenu,mouseWheel,rawKeyDown,keyDown,keyUp,char,gestureScrollBegin,gestureScrollEnd,gestureScrollUpdate,gestureFlingStart,gestureFlingCancel,gesturePinchBegin,gesturePinchEnd,gesturePinchUpdate,gestureTapDown,gestureShowPress,gestureTap,gestureTapCancel,gestureShortPress,gestureLongPress,gestureLongTap,gestureTwoFingerTap,gestureTapUnconfirmed,gestureDoubleTap,touchStart,touchMove,touchEnd,touchCancel,touchScrollStarted,pointerDown,pointerUp,pointerMove,pointerRawUpdate,pointerCanceloderpointerCausedUaActionsein.modifiersstring[] (optional) - Ein Array an Modifikatoren des Ereignisses, können seinshift,control,ctrl,alt,meta,command,cmd,isKeypad,isAutoRepeat,leftButtonDown,middleButtonDown,rightButtonDown,capsLock,numLock,left,right.