do not duplicate port 0 mouse and gun inputs to other ports

This commit is contained in:
Mark W. Kidd 2021-06-09 17:20:13 -04:00
parent 08481e2a68
commit f74fddf3fd

View File

@ -1407,6 +1407,7 @@ static int16_t android_input_state(
case RETRO_DEVICE_MOUSE:
{
int val = 0;
if(port > 0) return 0; /* TODO: implement mouse for additional ports/players */
switch (id)
{
case RETRO_DEVICE_ID_MOUSE_LEFT:
@ -1439,6 +1440,7 @@ static int16_t android_input_state(
case RETRO_DEVICE_LIGHTGUN:
{
int val = 0;
if(port > 0) return 0; /* TODO: implement lightgun for additional ports/players */
switch (id)
{
case RETRO_DEVICE_ID_LIGHTGUN_X: