Move input_autodetect code to input_autodetect.c
(Lakka) Fix GLES2 build
Merge pull request #1069 from lakkatv/lakka

(Lakka) Fix GLES2 build
(Input autodetect) Start setting up input autodetect so that it
can look at matching VID/PIDs
(Apple OSX) Build fix
Make rarch_main_clear_state more resilient
(Lakka) Fix draw_icon in gles2
Merge pull request #1070 from lakkatv/lakka

(Lakka) Fix draw_icon in gles2
add getVendorId and getProductId to android device detection (needs testing)