Skip to content

Commit

Permalink
[PS4/5] Fixup broken PS4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Oct 30, 2020
1 parent 0d56363 commit 901e688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/adapter/ps4.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ void ps_hid_to_generic(struct bt_data *bt_data, struct generic_ctrl *ctrl_data)
}

void ps4_to_generic(struct bt_data *bt_data, struct generic_ctrl *ctrl_data) {
switch (bt_data->report_type) {
case KB:
switch (bt_data->report_id) {
case 0x01:
ps_hid_to_generic(bt_data, ctrl_data);
break;
case 11:
case 0x11:
ps_ps4_to_generic(bt_data, ctrl_data);
break;
default:
Expand Down

0 comments on commit 901e688

Please sign in to comment.