Skip to content

Commit

Permalink
[ADAPTER] Remove extra mapping on Stadia
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Apr 19, 2024
1 parent af10aba commit 9654a62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/adapter/mapping_quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ enum {
};

static void stadia(struct raw_src_mapping *map) {
map->mask[0] = 0xBBFF1FFF;
map->desc[0] = 0x110000FF;

memset(map->btns_mask, 0, sizeof(map->btns_mask));

map->btns_mask[PAD_RD_LEFT] = BIT(STADIA_CAPTURE);
map->btns_mask[PAD_RB_LEFT] = BIT(STADIA_X);
map->btns_mask[PAD_RB_RIGHT] = BIT(STADIA_B);
Expand Down

0 comments on commit 9654a62

Please sign in to comment.