Support MultiTap and read ports every other frame
This commit is contained in:
@@ -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];
|
||||
|
||||
|
@@ -9,8 +9,8 @@ namespace JabyEngine {
|
||||
};
|
||||
|
||||
struct Periphery {
|
||||
static constexpr bool UsePortB = false;
|
||||
static constexpr bool UseMultiTap = false;
|
||||
static constexpr bool IncludePortB = false;
|
||||
static constexpr bool UseMultiTap = false;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user