Cleanups
This commit is contained in:
parent
4ebfe7a779
commit
ded8920a65
|
@ -16,10 +16,9 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string/string_list.h>
|
#include <string/string_list.h>
|
||||||
|
|
||||||
#include "camera_driver.h"
|
#include "camera_driver.h"
|
||||||
#include "../driver.h"
|
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
#include "../system.h"
|
|
||||||
|
|
||||||
static const camera_driver_t *camera_drivers[] = {
|
static const camera_driver_t *camera_drivers[] = {
|
||||||
#ifdef HAVE_V4L2
|
#ifdef HAVE_V4L2
|
||||||
|
|
|
@ -14,14 +14,15 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "input_common.h"
|
|
||||||
#include "input_keymaps.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
|
|
||||||
|
#include "input_common.h"
|
||||||
|
#include "input_keymaps.h"
|
||||||
|
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string/string_list.h>
|
#include <string/string_list.h>
|
||||||
|
|
||||||
#include "input_driver.h"
|
#include "input_driver.h"
|
||||||
#include "../driver.h"
|
#include "../driver.h"
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
|
|
|
@ -14,11 +14,13 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "input_hid_driver.h"
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <string/string_list.h>
|
#include <string/string_list.h>
|
||||||
|
|
||||||
|
#include "input_hid_driver.h"
|
||||||
#include "../driver.h"
|
#include "../driver.h"
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,16 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "input_keymaps.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include <linux/input.h>
|
||||||
|
#include <linux/kd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "input_keymaps.h"
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
|
@ -28,11 +33,6 @@
|
||||||
#include "drivers/apple_keycode.h"
|
#include "drivers/apple_keycode.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
|
||||||
#include <linux/input.h>
|
|
||||||
#include <linux/kd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const struct input_key_map input_config_key_map[] = {
|
const struct input_key_map input_config_key_map[] = {
|
||||||
{ "left", RETROK_LEFT },
|
{ "left", RETROK_LEFT },
|
||||||
{ "right", RETROK_RIGHT },
|
{ "right", RETROK_RIGHT },
|
||||||
|
|
Loading…
Reference in New Issue