phaser/src/input/index.js
2024-02-19 17:12:24 +00:00

33 lines
880 B
JavaScript

/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2024 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CONST = require('./const');
var Extend = require('../utils/object/Extend');
/**
* @namespace Phaser.Input
*/
var Input = {
CreatePixelPerfectHandler: require('./CreatePixelPerfectHandler'),
CreateInteractiveObject: require('./CreateInteractiveObject'),
Events: require('./events'),
Gamepad: require('./gamepad'),
InputManager: require('./InputManager'),
InputPlugin: require('./InputPlugin'),
InputPluginCache: require('./InputPluginCache'),
Keyboard: require('./keyboard'),
Mouse: require('./mouse'),
Pointer: require('./Pointer'),
Touch: require('./touch')
};
// Merge in the consts
Input = Extend(false, Input, CONST);
module.exports = Input;