blackberry / SDL

Simple DirectMedia Layer is an open-source, cross-platform multimedia library designed to provide a low level API.
GNU Lesser General Public License v2.1
86 stars 46 forks source link

"Unable to parse control file" error message #1

Closed jnicholl closed 12 years ago

jnicholl commented 12 years ago

SDL checks in two locations for a sdl-controls.xml file, the current directory and in app/native. If it doesn't find it, it will report error messages for each location it checks. If it doesn't find it at all, then no touch input will work. There are two problems: a) If it doesn't find it in the current directory, it will show errors, but everything is fine as long as it's in app/native (which is actually more common). b) There should be a default configuration even if no XML file is present.

jnicholl commented 12 years ago

Fixed by https://github.com/blackberry/SDL/commit/b15a7f93eaf387dab24d03a15920cd512beb6767. Will require updating TouchControlOverlay as well.