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:
parent
322339a5fd
commit
5deecd714b
2 changed files with 9 additions and 9 deletions
|
@ -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{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue