mirror of https://github.com/PCSX2/pcsx2.git
USB: EyeToy LED status
This commit is contained in:
parent
14be2649cf
commit
e5f19a4312
|
@ -358,6 +358,16 @@ namespace usb_eyetoy
|
||||||
Console.WriteLn("EyeToy : configured for unknown format");
|
Console.WriteLn("EyeToy : configured for unknown format");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case OV519_GPIO_DATA_OUT0:
|
||||||
|
{
|
||||||
|
static char led_state = -1;
|
||||||
|
if (led_state != data[0])
|
||||||
|
{
|
||||||
|
led_state = data[0];
|
||||||
|
Console.WriteLn("EyeToy : LED : %d", !!led_state);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
case R518_I2C_CTL:
|
case R518_I2C_CTL:
|
||||||
if (data[0] == 1) // Commit I2C write
|
if (data[0] == 1) // Commit I2C write
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue