Support MultiTap and read ports every other frame

This commit is contained in:
2024-01-02 22:59:33 -06:00
parent 73a452d616
commit 78876ff086
3 changed files with 38 additions and 37 deletions

View File

@@ -4,8 +4,8 @@
namespace JabyEngine {
namespace Periphery {
static constexpr uint32_t PortCount = Configuration::Periphery::UsePortB ? 2 : 1;
static constexpr uint32_t DeviceCount = Configuration::Periphery::UseMultiTap ? 4 : 1;
static constexpr uint32_t PortCount = Configuration::Periphery::IncludePortB ? 2 : 1;
static constexpr uint32_t DeviceCount = Configuration::Periphery::UseMultiTap ? 4 : 1;
extern RawController controller[PortCount][DeviceCount];