UNPKG

virtual-gamepad-lib

Version:

Emulate and display virtual and real gamepads on the web

32 lines (31 loc) 1.57 kB
import { setupPresetInteractiveGamepad as t } from "./helpers.js"; import { GamepadApiWrapper as r } from "./GamepadApiWrapper.js"; import { GamepadDisplay as o } from "./GamepadDisplay.js"; import { DEFAULT_GPAD_AXIS_COUNT as A, DEFAULT_GPAD_BUTTON_COUNT as m, GamepadEmulator as G } from "./GamepadEmulator.js"; import { CenterTransformOrigin as S, CenterTransformOriginDebug as n, NormalizeClampVector as E } from "./utilities.js"; import { PRESET_SVG_GPAD_BTN_IDS as d, PRESET_SVG_GPAD_BTN_TAP_TARGET_IDS as i, PRESET_SVG_GPAD_CLASS as x, PRESET_SVG_GPAD_DPAD_DIAGONAL_TAP_TARGET_IDS_TO_BTN_INDEXES as s, gamepadButtonType as N, gamepadDirection as f, gamepadEmulationState as u, playStationAxesMap as B, playStationButtonMap as l, standardGpadAxesMap as I, standardGpadButtonMap as O, xboxAxesMap as g, xboxButtonMap as C } from "./enums.js"; export { S as CenterTransformOrigin, n as CenterTransformOriginDebug, A as DEFAULT_GPAD_AXIS_COUNT, m as DEFAULT_GPAD_BUTTON_COUNT, r as GamepadApiWrapper, o as GamepadDisplay, G as GamepadEmulator, E as NormalizeClampVector, d as PRESET_SVG_GPAD_BTN_IDS, i as PRESET_SVG_GPAD_BTN_TAP_TARGET_IDS, x as PRESET_SVG_GPAD_CLASS, s as PRESET_SVG_GPAD_DPAD_DIAGONAL_TAP_TARGET_IDS_TO_BTN_INDEXES, N as gamepadButtonType, f as gamepadDirection, u as gamepadEmulationState, B as playStationAxesMap, l as playStationButtonMap, t as setupPresetInteractiveGamepad, I as standardGpadAxesMap, O as standardGpadButtonMap, g as xboxAxesMap, C as xboxButtonMap }; //# sourceMappingURL=index.js.map