aboutsummaryrefslogtreecommitdiff
path: root/lib/components
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2018-05-29 00:29:27 -0500
committerGitHub <noreply@github.com>2018-05-29 00:29:27 -0500
commit43413defcb854c8706a84a6a54a61c7977b52614 (patch)
tree815be23b2a4bccc9362ea1b63a2ee8f02361e848 /lib/components
parent1676911c8a2621274bf75ff7271faa926cf58d6c (diff)
Add gamepad support (#10)
* Update docs * Add gamepad support * Remove console logs * Add factories for controllables * Add both controllables * Add gamepad support to changelog
Diffstat (limited to 'lib/components')
-rw-r--r--lib/components/control_map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/components/control_map.js b/lib/components/control_map.js
index cb447d0..4edf318 100644
--- a/lib/components/control_map.js
+++ b/lib/components/control_map.js
@@ -16,8 +16,8 @@ import { Component } from '@serpentity/serpentity';
* @typedef tControlSource
* @type object
*
- * @property {string} type type of input, can be keyboard or gamepad (only keyboard supported atm)
- * @property {number} gamepadNumber the number of gamepad to use (unsupported)
+ * @property {string} type type of input, can be keyboard or gamepad
+ * @property {number} gamepadNumber the number of gamepad to use
* @property {string} gamepadInputSource either axes or buttons
* @property {number} index the input index or keycode
*/