Fix Haiku build
Add controller support
Add support for android tv (not tested)
