Fix reporting for connected or unconnected inputs
authornegativeExponent <negativeExponent@users.noreply.github.com>
Thu, 6 May 2021 05:38:18 +0000 (13:38 +0800)
committernegativeExponent <negativeExponent@users.noreply.github.com>
Thu, 6 May 2021 05:46:05 +0000 (13:46 +0800)
commitd526ed8c645d7e2147b7d454f29d123b4cfa311d
treeaf2dd9912478e3bc96b51323c84aab4131d145db
parent625cc17f79f3eaeada1b741974bdc608ae4d2dd2
Fix reporting for connected or unconnected inputs

Current implementation assumes all inputs are plugged, regardless of
input type settings, so input reporting in games also says its
connected.

This PR fix this minor issue, by sending appropriate input register
values when no controllers are attached.

Related issue (what i used as well for testing):
https://github.com/libretro/duckstation/issues/35
libpcsxcore/plugins.c