Have cores generate controller index maps
commitbbba76105cc7b9431d9020a8f3e23038cbbee6eb
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 17 Oct 2012 06:32:51 +0000 (17 09:32 +0300)
committerIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 17 Oct 2012 06:32:51 +0000 (17 09:32 +0300)
tree255a770d97b7a0b82eb7b5b2790c0ded1fcd2f05
parent4c66744a14b9ade2af682ffb40f135e51c0dc012
Have cores generate controller index maps

The cores have much better knowledge about how the index maps should
be constructed than the core code.

Also, this moves any backward compat hacks to cores that need those.
include/library/controller-data.hpp
src/core/bsnes-legacy.cpp
src/core/controllerframe.cpp
src/core/gambatte.cpp
src/library/controller-data.cpp
src/lua/movie.cpp