Rename input_common.c to input_config.c

This commit is contained in:
twinaphex 2015-11-28 02:22:46 +01:00
parent bbe9927eea
commit a6ccc188a8
35 changed files with 32 additions and 37 deletions

View File

@ -162,7 +162,7 @@ OBJ += frontend/frontend.o \
input/input_autodetect.o \
input/input_joypad_driver.o \
input/input_joypad.o \
input/input_common.o \
input/input_config.o \
input/input_keymaps.o \
input/input_remapping.o \
tasks/task_overlay.o \

View File

@ -24,7 +24,7 @@
#include "audio/audio_driver.h"
#include "config.def.h"
#include "input/input_common.h"
#include "input/input_config.h"
#include "input/input_keymaps.h"
#include "input/input_remapping.h"
#include "general.h"

View File

@ -27,7 +27,7 @@
#include "../libretro.h"
#include "../general.h"
#include "../verbosity.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
#include "../file_ops.h"
static PyObject* py_read_wram(PyObject *self, PyObject *args)

View File

@ -19,7 +19,7 @@
#include <compat/strl.h>
#include <retro_inline.h>
#include "../general.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
#include "../verbosity.h"
#ifdef HAVE_PYTHON

View File

@ -311,7 +311,7 @@ INPUT
#include "../input/input_joypad_driver.c"
#include "../input/input_joypad.c"
#include "../input/input_hid_driver.c"
#include "../input/input_common.c"
#include "../input/input_config.c"
#include "../input/input_keymaps.c"
#include "../input/input_remapping.c"
#include "../input/keyboard_line.c"

View File

@ -17,7 +17,8 @@
#ifndef AUTOCONF_BUILTIN_H__
#define AUTOCONF_BUILTIN_H__
#include "../input_common.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"

View File

@ -19,7 +19,7 @@
#include <stdint.h>
#include <stddef.h>
#include "../input_common.h"
#include "../input_config.h"
typedef void (*send_control_t)(void *data, uint8_t *buf, size_t size);

View File

@ -24,7 +24,7 @@
#include "../../frontend/drivers/platform_linux.h"
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../../performance.h"
#include "../../general.h"

View File

@ -156,6 +156,6 @@ enum
KEY_RightGUI = 231
};
#include "../input_common.h"
#include "../input_config.h"
#endif

View File

@ -17,7 +17,7 @@
#include <stdint.h>
#include <unistd.h>
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"
#include "cocoa_input.h"

View File

@ -20,7 +20,7 @@
#include "../../driver.h"
#include "../../libretro.h"
#include "../../general.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#define MAX_PADS 1

View File

@ -37,7 +37,7 @@
#include "../../general.h"
#include "../../verbosity.h"
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"

View File

@ -28,7 +28,6 @@
#include "../common/linux_common.h"
#include "../input_keymaps.h"
#include "../input_common.h"
#include "../input_joypad.h"
typedef struct linuxraw_input

View File

@ -34,7 +34,7 @@
#include "../../driver.h"
#include "../../libretro.h"
#include "../../general.h"
#include "../input_common.h"
#include "../input_config.h"
#ifdef HAVE_KERNEL_PRX
#include "../../bootstrap/psp1/kernel_functions.h"
#endif

View File

@ -19,9 +19,8 @@
#include "../input_joypad.h"
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_keymaps.h"
//#include "../input_joypad.h"
#include "../../driver.h"

View File

@ -27,7 +27,7 @@
#include "../../verbosity.h"
#include "../../libretro.h"
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"
#include "../keyboard_line.h"

View File

@ -36,7 +36,7 @@
#include "../common/linux_common.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"
#include "../../general.h"

View File

@ -22,7 +22,7 @@
#include <boolean.h>
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"

View File

@ -26,7 +26,7 @@
#include "../../general.h"
#include "../../verbosity.h"
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_joypad.h"
#include "../input_keymaps.h"

View File

@ -15,7 +15,6 @@
*/
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_hid_driver.h"
#include "../../driver.h"

View File

@ -30,7 +30,7 @@
#include <boolean.h>
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../../general.h"
#include "../../verbosity.h"

View File

@ -17,7 +17,7 @@
#include <stdint.h>
#include <unistd.h>
#include "../input_common.h"
#include "../input_config.h"
#include "../input_keymaps.h"
#include "../keyboard_line.h"
#include "../drivers/cocoa_input.h"

View File

@ -17,7 +17,7 @@
#include "../../general.h"
#include "../keyboard_line.h"
#include "../../gfx/common/win32_common.h"
#include "../input_common.h"
#include "../input_config.h"
#include "../input_keymaps.h"
LRESULT win32_handle_keyboard_event(HWND hwnd, UINT message,

View File

@ -21,7 +21,7 @@
#include <file/dir_list.h>
#include <file/file_path.h>
#include "input_common.h"
#include "input_config.h"
#include "input_autodetect.h"
#include "../general.h"

View File

@ -20,7 +20,7 @@
#include <file/file_path.h>
#include "input_common.h"
#include "input_config.h"
#include "input_keymaps.h"
#include "input_remapping.h"

View File

@ -14,8 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INPUT_COMMON_H__
#define INPUT_COMMON_H__
#ifndef INPUT_CONFIG_H__
#define INPUT_CONFIG_H__
#include <file/config_file.h>
#include <stdint.h>

View File

@ -34,7 +34,6 @@
#include "../configuration.h"
#include "../verbosity.h"
#include "../tasks/tasks.h"
#include "input_common.h"
struct input_overlay
{

View File

@ -27,7 +27,6 @@
#include "libretro.h"
#include "general.h"
#include "rewind.h"
#include "input/input_common.h"
#include "gfx/video_driver.h"
#include "audio/audio_driver.h"

View File

@ -29,7 +29,7 @@
#include "../../configuration.h"
#include "../../performance.h"
#include "../../input/input_autodetect.h"
#include "../../input/input_common.h"
#include "../../input/input_config.h"
#include "../../cheevos.h"
#include "../../runloop.h"

View File

@ -33,7 +33,7 @@
#include "../config.features.h"
#include "../git_version.h"
#include "../file_ext.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
#include "../dir_list_special.h"
#include "../string_list_special.h"
#include "../cheevos.h"

View File

@ -38,7 +38,7 @@
#include "../performance.h"
#include "../input/input_joypad.h"
#include "../input/input_remapping.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
enum menu_mouse_action
{

View File

@ -40,7 +40,7 @@
#include "../dynamic.h"
#include "../audio/audio_driver.h"
#include "../audio/audio_resampler_driver.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
#include "../input/input_autodetect.h"
#include "../config.def.h"
#include "../file_ext.h"

View File

@ -36,7 +36,6 @@
#include "msg_hash.h"
#include "input/keyboard_line.h"
#include "input/input_common.h"
#include "input/input_driver.h"
#ifdef HAVE_MENU

View File

@ -21,7 +21,7 @@
#include <rhash.h>
#include "tasks.h"
#include "../input/input_common.h"
#include "../input/input_config.h"
#include "../input/input_overlay.h"
#include "../configuration.h"
#include "../verbosity.h"

View File

@ -21,7 +21,7 @@
#include <retro_miscellaneous.h>
#include "cocoa_common.h"
#include "../../../input/input_common.h"
#include "../../../input/input_config.h"
#include "../../../input/input_keymaps.h"
#include "../../../input/drivers/cocoa_input.h"