Do not collide with the PS4 please

This commit is contained in:
Denis 2023-11-18 00:29:37 +01:00
parent 110b88873f
commit b91361eed2
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03

View file

@ -690,7 +690,7 @@ static void handle_msg(output_dev_t *const out_dev, message_t *const msg) {
fprintf(stderr, "[ev] Unable to begin the gamepad status update: %d\n", upd_beg_res);
}
if ((out_dev->logic->flags & LOGIC_FLAGS_VIRT_DS4_ENABLE) != 0) {
if ((out_dev->logic->flags & LOGIC_FLAGS_VIRT_DS4_ENABLE) == 0) {
emit_ev(out_dev, msg);
}
} else if (msg->type == MSG_TYPE_IMU) {