Commit 7f65aeaa authored by bbbradsmith's avatar bbbradsmith
Browse files

keyboard-via-joystick button should also be B not A (consistent with others)

parent 25a11fd1
......@@ -515,7 +515,7 @@ void update_input(void)
virtual_kdb(bmp,vkx,vky);
i=RETRO_DEVICE_ID_JOYPAD_A;
i=RETRO_DEVICE_ID_JOYPAD_B;
if(input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, i) && vkflag[4]==0)
vkflag[4]=1;
else if( !input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, i) && vkflag[4]==1)
......@@ -528,7 +528,6 @@ void update_input(void)
NPAGE=-NPAGE;oldi=-1;
//Clear interface zone
Screen_SetFullUpdate();
}
else if(i==-1)
oldi=-1;
......@@ -759,7 +758,6 @@ void input_gui(void)
mouse_r=input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A);
PAS=SAVPAS;
}
else
{
......@@ -799,6 +797,5 @@ void input_gui(void)
gmy=0;
if (gmy>retroh-1)
gmy=retroh-1;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment