Merge pull request #12511 from markwkidd/android-input-fix

[Android input driver] do not duplicate port 0 mouse and gun inputs to other ports
This commit is contained in:
Autechre 2021-06-21 14:12:02 +02:00 committed by GitHub
commit a6b0199204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: