summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-08-06 05:33:49 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-08-08 20:12:02 +0200
commit301702e548844e3df5099382e90766966940d0a9 (patch)
tree193c293f3abf95df5855f9161da9e48c921d70f0 /src/core/hid/emulated_controller.h
parentController bugfixes in profile select (#8716) (diff)
downloadyuzu-301702e548844e3df5099382e90766966940d0a9.tar
yuzu-301702e548844e3df5099382e90766966940d0a9.tar.gz
yuzu-301702e548844e3df5099382e90766966940d0a9.tar.bz2
yuzu-301702e548844e3df5099382e90766966940d0a9.tar.lz
yuzu-301702e548844e3df5099382e90766966940d0a9.tar.xz
yuzu-301702e548844e3df5099382e90766966940d0a9.tar.zst
yuzu-301702e548844e3df5099382e90766966940d0a9.zip
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index 823c1700c..cbd7c26d3 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -425,6 +425,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
* @param is_service_update indicates if this event should only be sent to HID services