mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 14:08:07 -05:00
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:
@ -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{};
|
||||
|
Reference in New Issue
Block a user