From 43413defcb854c8706a84a6a54a61c7977b52614 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Tue, 29 May 2018 00:29:27 -0500 Subject: Add gamepad support (#10) * Update docs * Add gamepad support * Remove console logs * Add factories for controllables * Add both controllables * Add gamepad support to changelog --- lib/components/control_map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/components/control_map.js') 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 */ -- cgit