hid: core: Properly emulate controller color and battery level
This commit is contained in:
parent
cd5bbf0f04
commit
301702e548
4 changed files with 97 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue