added support for dynamically mapping devices (ps3, ps4, xbox)