dolphin/Source/Core/InputCommon/ControllerEmu/ControlGroup
Filoppi a19a0096db InputCommon: improve code that returns a controller attachment index
casting a value to a u32 when it's originally an int, and it's exposed as int to users,
could end up in cases where a negative number would result as a positive one.
This doesn't really affect the value range of the attachment enum,
still I think the code was wrong.

Heavily tested.
2021-05-19 20:51:34 +03:00
..
AnalogStick.cpp
AnalogStick.h
Attachments.cpp InputCommon: improve code that returns a controller attachment index 2021-05-19 20:51:34 +03:00
Attachments.h
Buttons.cpp
Buttons.h
ControlGroup.cpp
ControlGroup.h
Cursor.cpp
Cursor.h
Force.cpp
Force.h
IMUAccelerometer.cpp
IMUAccelerometer.h
IMUCursor.cpp
IMUCursor.h
IMUGyroscope.cpp
IMUGyroscope.h
MixedTriggers.cpp
MixedTriggers.h
ModifySettingsButton.cpp
ModifySettingsButton.h
Slider.cpp
Slider.h
Tilt.cpp
Tilt.h
Triggers.cpp
Triggers.h