mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(GX) Move sicksaxis GX files to input/ and rename it
This commit is contained in:
parent
6b5bb100a1
commit
d3ae0834e6
@ -294,7 +294,7 @@ INPUT
|
|||||||
#include "../input/autoconf/builtin_psp.c"
|
#include "../input/autoconf/builtin_psp.c"
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
#ifdef HAVE_LIBSICKSAXIS
|
#ifdef HAVE_LIBSICKSAXIS
|
||||||
#include "../gx/sicksaxis.c"
|
#include "../input/gx_input_sicksaxis.c"
|
||||||
#endif
|
#endif
|
||||||
#include "../input/gx_input.c"
|
#include "../input/gx_input.c"
|
||||||
#include "../input/autoconf/builtin_gx.c"
|
#include "../input/autoconf/builtin_gx.c"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "sicksaxis.h"
|
#include "gx_input_sicksaxis.h"
|
||||||
#include <gccore.h>
|
#include <gccore.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -34,11 +34,12 @@ static int _ss_set_operational(struct ss_device *dev);
|
|||||||
static int _ss_build_attributes_payload(struct ss_device *dev);
|
static int _ss_build_attributes_payload(struct ss_device *dev);
|
||||||
static int _ss_send_attributes_payload(struct ss_device *dev);
|
static int _ss_send_attributes_payload(struct ss_device *dev);
|
||||||
|
|
||||||
int ss_init()
|
int ss_init(void)
|
||||||
{
|
{
|
||||||
if (!_ss_inited) {
|
if (!_ss_inited)
|
||||||
_ss_heap_id = iosCreateHeap(SS_HEAP_SIZE);
|
{
|
||||||
_ss_inited = 1;
|
_ss_heap_id = iosCreateHeap(SS_HEAP_SIZE);
|
||||||
|
_ss_inited = 1;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include <gccore.h>
|
#include <gccore.h>
|
||||||
|
|
||||||
|
|
||||||
#define SS_HEAP_SIZE 4096
|
#define SS_HEAP_SIZE 4096
|
||||||
#define SS_MAX_DEV 8
|
#define SS_MAX_DEV 8
|
||||||
#define SS_VENDOR_ID 0x054C
|
#define SS_VENDOR_ID 0x054C
|
||||||
@ -122,7 +121,7 @@ struct ss_device {
|
|||||||
}__attribute__((aligned(32)));
|
}__attribute__((aligned(32)));
|
||||||
|
|
||||||
|
|
||||||
int ss_init();
|
int ss_init(void);
|
||||||
int ss_initialize(struct ss_device *dev);
|
int ss_initialize(struct ss_device *dev);
|
||||||
int ss_open(struct ss_device *dev);
|
int ss_open(struct ss_device *dev);
|
||||||
int ss_close(struct ss_device *dev);
|
int ss_close(struct ss_device *dev);
|
Loading…
x
Reference in New Issue
Block a user