summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_protocol/irs.cpp
diff options
context:
space:
mode:
authorViktor Szépe <viktor@szepe.net>2024-01-16 00:26:53 +0100
committerViktor Szépe <viktor@szepe.net>2024-01-16 00:26:53 +0100
commit2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch)
tree49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/input_common/helpers/joycon_protocol/irs.cpp
parentFix typos in src/core (#12625) (diff)
downloadyuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.bz2
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.lz
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.zst
yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/irs.cpp')
-rw-r--r--src/input_common/helpers/joycon_protocol/irs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/helpers/joycon_protocol/irs.cpp b/src/input_common/helpers/joycon_protocol/irs.cpp
index 68b0589e3..5bf72114d 100644
--- a/src/input_common/helpers/joycon_protocol/irs.cpp
+++ b/src/input_common/helpers/joycon_protocol/irs.cpp
@@ -236,9 +236,9 @@ Common::Input::DriverResult IrsProtocol::WriteRegistersStep2() {
.number_of_registers = 0x8,
.registers =
{
- IrsRegister{IrRegistersAddress::LedIntensitiyMSB,
+ IrsRegister{IrRegistersAddress::LedIntensityMSB,
static_cast<u8>(led_intensity >> 8)},
- {IrRegistersAddress::LedIntensitiyLSB, static_cast<u8>(led_intensity & 0xff)},
+ {IrRegistersAddress::LedIntensityLSB, static_cast<u8>(led_intensity & 0xff)},
{IrRegistersAddress::ImageFlip, static_cast<u8>(image_flip)},
{IrRegistersAddress::DenoiseSmoothing, static_cast<u8>((denoise >> 16) & 0xff)},
{IrRegistersAddress::DenoiseEdge, static_cast<u8>((denoise >> 8) & 0xff)},