HID/IR: Cleanup and minor fixes (#768)

This commit is contained in:
wheremyfoodat
2025-07-03 03:47:06 +03:00
committed by GitHub
parent 2e148ae997
commit 620e3699ec
4 changed files with 10 additions and 10 deletions

View File

@@ -26,9 +26,9 @@ namespace IR {
ButtonState() {
// Response header for button state reads
cStick.header = static_cast<u8>(CPPResponseID::PollButtons);
cStick.x = static_cast<u32>(CirclePadPro::ButtonState::C_STICK_CENTER);
cStick.y = static_cast<u32>(CirclePadPro::ButtonState::C_STICK_CENTER);
cStick.header = u8(CPPResponseID::PollButtons);
cStick.x = u32(CirclePadPro::ButtonState::C_STICK_CENTER);
cStick.y = u32(CirclePadPro::ButtonState::C_STICK_CENTER);
// Fully charged
buttons.batteryLevel = 0x1F;