service: hid: Create appropriate hid resources
This commit is contained in:
parent
8da5bd27e9
commit
cff2d0e19e
36 changed files with 1634 additions and 1424 deletions
|
@ -16,7 +16,7 @@ enum class NpadButton : u64;
|
|||
}
|
||||
|
||||
namespace Service::HID {
|
||||
class Controller_NPad;
|
||||
class NPad;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -101,7 +101,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
Service::HID::Controller_NPad& npad;
|
||||
std::shared_ptr<Service::HID::NPad> npad;
|
||||
|
||||
/// Stores 9 consecutive button states polled from HID.
|
||||
std::array<Core::HID::NpadButton, 9> button_states{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue