This commit is contained in:
twinaphex 2016-09-06 23:59:43 +02:00
parent 5222407408
commit 642e46779b
10 changed files with 53 additions and 46 deletions

View File

@ -22,12 +22,6 @@
#include <stdint.h>
#include <string.h>
#include "../include/Cg/cg.h"
#ifdef HAVE_OPENGL
#include "../common/gl_common.h"
#include "../include/Cg/cgGL.h"
#endif
#include <compat/strl.h>
#include <compat/posix_string.h>
#include <file/config_file.h>
@ -36,12 +30,22 @@
#include <rhash.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../include/Cg/cg.h"
#ifdef HAVE_OPENGL
#include "../common/gl_common.h"
#include "../include/Cg/cgGL.h"
#endif
#include "../video_shader_driver.h"
#include "../video_shader_parse.h"
#include "../video_state_tracker.h"
#include "../../core.h"
#include "../../dynamic.h"
#include "../../managers/state_manager.h"
#include "../video_state_tracker.h"
#ifdef HAVE_SHADERPIPELINE
#include "../drivers/gl_shaders/pipeline_xmb_ribbon_simple.cg.h"

View File

@ -16,6 +16,10 @@
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "shader_hlsl.h"
#include "../video_shader_parse.h"

View File

@ -22,6 +22,10 @@
#include <file/file_path.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_config.h"
#include "input_autodetect.h"
@ -165,9 +169,6 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
runloop_msg_queue_push(msg, 2, 60, false);
}
input_reindex_devices();
#if 0
RARCH_LOG("Autodetect: %s\n", msg);
#endif
}
#if defined(HAVE_BUILTIN_AUTOCONFIG)

View File

@ -15,8 +15,17 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_autodetect.h"
#include "input_autodetect_builtin.h"
#include "input_config.h"
#define DECL_BTN(btn, bind) "input_" #btn "_btn = " #bind "\n"
#define DECL_AXIS(axis, bind) "input_" #axis "_axis = " #bind "\n"
#define DECL_MENU(btn) "input_menu_toggle_btn = " #btn "\n"
#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" binds
/* TODO/FIXME - Missing L2/R2 */

View File

@ -1,28 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2013-2014 - pinumbernumber
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AUTOCONF_BUILTIN_H__
#define AUTOCONF_BUILTIN_H__
#include "input_config.h"
#define DECL_BTN(btn, bind) "input_" #btn "_btn = " #bind "\n"
#define DECL_AXIS(axis, bind) "input_" #axis "_axis = " #bind "\n"
#define DECL_MENU(btn) "input_menu_toggle_btn = " #btn "\n"
#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" binds
#endif

View File

@ -22,6 +22,10 @@
#include <file/file_path.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_config.h"
#include "input_keymaps.h"
#include "input_remapping.h"
@ -30,9 +34,6 @@
#include "../configuration.h"
#include "../file_path_special.h"
#include "../verbosity.h"
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
/* Input config. */
struct input_bind_map

View File

@ -16,10 +16,18 @@
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_driver.h"
#include "input_keyboard.h"
#include "input_remapping.h"
#ifdef HAVE_NETWORKGAMEPAD
#include "input_remote.h"
#endif
#include "../configuration.h"
#include "../driver.h"
#include "../retroarch.h"
@ -29,10 +37,6 @@
#include "../verbosity.h"
#include "../command.h"
#ifdef HAVE_NETWORKGAMEPAD
#include "input_remote.h"
#endif
static const input_driver_t *input_drivers[] = {
#ifdef __CELLOS_LV2__
&input_ps3,

View File

@ -18,6 +18,10 @@
#include <ctype.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_hid_driver.h"
#include "../list_special.h"
#include "../verbosity.h"

View File

@ -20,6 +20,10 @@
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_keymaps.h"
#include "../configuration.h"
#include "../general.h"

View File

@ -29,6 +29,10 @@
#include <net/net_compat.h>
#include <net/net_socket.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "input_remote.h"
#include "../configuration.h"