phaser/src/input/index.js

34 lines
880 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2024 Phaser Studio Inc.
2019-05-10 15:15:04 +00:00
* @license {@link https://opensource.org/licenses/MIT|MIT License}
2018-02-12 16:01:20 +00:00
*/
var CONST = require('./const');
var Extend = require('../utils/object/Extend');
2018-01-31 13:54:44 +00:00
/**
* @namespace Phaser.Input
*/
var Input = {
2020-09-01 17:56:01 +00:00
CreatePixelPerfectHandler: require('./CreatePixelPerfectHandler'),
2018-03-28 14:04:09 +00:00
CreateInteractiveObject: require('./CreateInteractiveObject'),
2019-01-16 12:13:30 +00:00
Events: require('./events'),
2017-09-09 02:17:13 +00:00
Gamepad: require('./gamepad'),
InputManager: require('./InputManager'),
InputPlugin: require('./InputPlugin'),
InputPluginCache: require('./InputPluginCache'),
Keyboard: require('./keyboard'),
2018-01-16 16:14:21 +00:00
Mouse: require('./mouse'),
Pointer: require('./Pointer'),
Touch: require('./touch')
};
// Merge in the consts
Input = Extend(false, Input, CONST);
module.exports = Input;