hid: core: Properly emulate controller color and battery level

This commit is contained in:
Narr the Reg 2022-08-05 22:33:49 -05:00
parent cd5bbf0f04
commit 301702e548
4 changed files with 97 additions and 25 deletions

View file

@ -424,6 +424,13 @@ private:
*/
void SetCamera(const Common::Input::CallbackStatus& callback);
/**
* Converts a color format from bgra to rgba
* @param color in bgra format
* @return NpadColor in rgba format
*/
NpadColor GetNpadColor(u32 color);
/**
* Triggers a callback that something has changed on the controller status
* @param type Input type of the event to trigger