mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 00:08:50 -05:00
hid: core: Properly emulate controller color and battery level
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user