2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2020-01-15 12:07:09 +00:00
|
|
|
* @copyright 2020 Photon Storm Ltd.
|
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
|
|
|
*/
|
|
|
|
|
2018-05-29 23:32:45 +00:00
|
|
|
var CONST = require('./const');
|
|
|
|
var Extend = require('../utils/object/Extend');
|
|
|
|
|
2018-01-31 13:54:44 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Input
|
|
|
|
*/
|
2017-02-21 01:04:11 +00:00
|
|
|
|
2018-05-29 23:32:45 +00:00
|
|
|
var Input = {
|
2017-02-21 01:04:11 +00:00
|
|
|
|
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'),
|
2018-01-16 22:28:29 +00:00
|
|
|
InputManager: require('./InputManager'),
|
|
|
|
InputPlugin: require('./InputPlugin'),
|
2018-06-08 14:16:35 +00:00
|
|
|
InputPluginCache: require('./InputPluginCache'),
|
2017-06-12 16:03:34 +00:00
|
|
|
Keyboard: require('./keyboard'),
|
2018-01-16 16:14:21 +00:00
|
|
|
Mouse: require('./mouse'),
|
|
|
|
Pointer: require('./Pointer'),
|
|
|
|
Touch: require('./touch')
|
2017-02-21 01:04:11 +00:00
|
|
|
|
|
|
|
};
|
2018-05-29 23:32:45 +00:00
|
|
|
|
|
|
|
// Merge in the consts
|
|
|
|
Input = Extend(false, Input, CONST);
|
|
|
|
|
|
|
|
module.exports = Input;
|