Added support for multiple controllers at once

Only keyboard is processed as of now (and only one keyboard
configuration can be used at a time, same with controllers)