2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
2018-03-28 14:04:09 +00:00
|
|
|
CreateInteractiveObject: require('./CreateInteractiveObject'),
|
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;
|