[XAM] Implementation of: Profile Manager & Profiles Support

Thanks Emoose for Account Encrypt/Decrypt code!
This commit is contained in:
Gliniak
2024-09-28 10:42:32 +02:00
committed by Radosław Gliński
parent 9ba0f18c82
commit 9bdd07590c
28 changed files with 1775 additions and 298 deletions

View File

@@ -27,8 +27,6 @@ class Window;
namespace xe {
namespace hid {
static constexpr uint8_t max_allowed_controllers = 4;
class InputSystem {
public:
explicit InputSystem(xe::ui::Window* window);
@@ -51,7 +49,7 @@ class InputSystem {
void ToggleVibration();
const std::bitset<max_allowed_controllers> GetConnectedSlots() const {
const std::bitset<XUserMaxUserCount> GetConnectedSlots() const {
return connected_slots;
}
@@ -72,8 +70,8 @@ class InputSystem {
std::vector<std::unique_ptr<InputDriver>> drivers_;
std::bitset<max_allowed_controllers> connected_slots = {};
std::array<std::pair<joystick_value, joystick_value>, max_allowed_controllers>
std::bitset<XUserMaxUserCount> connected_slots = {};
std::array<std::pair<joystick_value, joystick_value>, XUserMaxUserCount>
controllers_max_joystick_value = {};
xe_unlikely_mutex lock_;