linux-dist: Remove unnecessary for-loop
This commit is contained in:
parent
ab33f473b3
commit
154c92bd59
|
@ -78,10 +78,12 @@ int msgboxf(const wchar* text, unsigned int type, ...)
|
|||
|
||||
|
||||
|
||||
u16 kcode[4];
|
||||
u16 kcode[4] = {0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF};
|
||||
u8 rt[4] = {0, 0, 0, 0};
|
||||
u8 lt[4] = {0, 0, 0, 0};
|
||||
|
||||
u32 vks[4];
|
||||
s8 joyx[4],joyy[4];
|
||||
u8 rt[4],lt[4];
|
||||
|
||||
enum DCPad
|
||||
{
|
||||
|
@ -135,12 +137,6 @@ const u32* JMapAxis=JMapAxis_USB;
|
|||
|
||||
void SetupInput()
|
||||
{
|
||||
for (int port=0; port<4; port++)
|
||||
{
|
||||
kcode[port]=0xFFFF;
|
||||
rt[port]=0;
|
||||
lt[port]=0;
|
||||
}
|
||||
#if HOST_OS != OS_DARWIN && !defined(TARGET_EMSCRIPTEN)
|
||||
#ifdef TARGET_PANDORA
|
||||
const char* device = "/dev/input/event4";
|
||||
|
|
Loading…
Reference in New Issue