TODO: Static Event<> seemingly does not propagate

This commit is contained in:
2025-03-19 13:32:11 -04:00
parent 0c4d012627
commit cda59803a5
4 changed files with 14 additions and 12 deletions

View File

@@ -125,6 +125,8 @@ void ProcessButtonEvent(uint8_t button_index, bool value) {
} else {
jstick::ButtonReleased.Invoke(btn);
}
}
void ProcessAxisEvent(uint8_t axis, short value) {
@@ -138,8 +140,6 @@ void ProcessAxisEvent(uint8_t axis, short value) {
if (device_type == jstick::ControllerType::XBox)
{
if (axis == 0) l_thumb.x = value;
if (axis == 1) l_thumb.y = value;
if (axis == 2) l_trigger = value;