Skip to content

Commit

Permalink
[BT] Remove PowerA GC quirk
Browse files Browse the repository at this point in the history
It was affecting any regular 3rd party sw ctrls
  • Loading branch information
darthcloud committed Jan 13, 2025
1 parent 54c0911 commit a963779
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion main/adapter/adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ enum {
BT_SW_SNES,
BT_SW_N64,
BT_SW_MD_GEN,
BT_SW_POWERA,
BT_SW_HYPERKIN_ADMIRAL,
BT_8BITDO_GBROS,
BT_SUBTYPE_MAX,
Expand Down
2 changes: 1 addition & 1 deletion main/adapter/wireless/sw.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static int32_t sw_pad_init(struct bt_data *bt_data) {
memcpy(bt_data->raw_src_mappings[PAD].desc, desc,
sizeof(bt_data->raw_src_mappings[PAD].desc));
}
else if (bt_data->base.pids->subtype == BT_SUBTYPE_DEFAULT || bt_data->base.pids->subtype == BT_SW_POWERA) {
else if (bt_data->base.pids->subtype == BT_SUBTYPE_DEFAULT) {
meta[0].polarity = 0;
meta[1].polarity = 0;
meta[2].polarity = 0;
Expand Down
1 change: 0 additions & 1 deletion main/bluetooth/hidp/hidp.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ static const struct bt_name_type bt_name_type[] = {
{"Wireless Controller", BT_PS, BT_SUBTYPE_DEFAULT, 0},
{"Nintendo RVL-CNT-01-UC", BT_WII, BT_WIIU_PRO, 0}, /* Must be before WII */
{"Nintendo RVL-CNT-01", BT_WII, BT_SUBTYPE_DEFAULT, 0},
{"Lic Pro Controller", BT_SW, BT_SW_POWERA, BIT(BT_QUIRK_FACE_BTNS_ROTATE_RIGHT)},
{"Pro Controller", BT_SW, BT_SUBTYPE_DEFAULT, 0},
{"Joy-Con (L)", BT_SW, BT_SW_LEFT_JOYCON, 0},
{"Joy-Con (R)", BT_SW, BT_SW_RIGHT_JOYCON, 0},
Expand Down

0 comments on commit a963779

Please sign in to comment.