TODO: Static Event<> seemingly does not propagate
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user