input_interpreter: Make use of NpadButton instead of a u64

Allows us to be more explicit with the representation of button states and use the provided bit manipulation operators
This commit is contained in:
Morph 2021-11-29 18:26:52 -05:00
parent 322339a5fd
commit 5deecd714b
2 changed files with 9 additions and 9 deletions

View file

@ -105,7 +105,7 @@ private:
Service::HID::Controller_NPad& npad;
/// Stores 9 consecutive button states polled from HID.
std::array<u64, 9> button_states{};
std::array<Core::HID::NpadButton, 9> button_states{};
std::size_t previous_index{};
std::size_t current_index{};