applets/controller: Use aliases for callbacks

This commit is contained in:
Lioncash 2022-12-05 18:59:13 -05:00
parent d8da9a2afd
commit fedd857054
4 changed files with 8 additions and 6 deletions

View file

@ -16,7 +16,7 @@ DefaultControllerApplet::DefaultControllerApplet(HID::HIDCore& hid_core_) : hid_
DefaultControllerApplet::~DefaultControllerApplet() = default;
void DefaultControllerApplet::ReconfigureControllers(std::function<void()> callback,
void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callback,
const ControllerParameters& parameters) const {
LOG_INFO(Service_HID, "called, deducing the best configuration based on the given parameters!");