Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Input/Pointer"

Index

Type aliases

PointerEventName

PointerEventName: "pointerdragstart" | "pointerdragend" | "pointerdragmove" | "pointerdragenter" | "pointerdragleave" | "pointermove" | "pointerenter" | "pointerleave" | "pointerup" | "pointerdown"

Type that indicates Excalibur's valid synthetic pointer events

Variables

Const ScrollWheelNormalizationFactor

ScrollWheelNormalizationFactor: number = -1 / 40

A constant used to normalize wheel events across different browsers

This normalization factor is pulled from https://developer.mozilla.org/en-US/docs/Web/Events/wheel#Listening_to_this_event_across_browser

Functions

createPointerEventByName