Skip to content

Commit

Permalink
verilog: connect player 2 keys to player 2
Browse files Browse the repository at this point in the history
Reconnect the Player 2 keys to Player 2; they were accidentally connected
to Player 1 in sehugg@271c2ea

Fixes sehugg#31
  • Loading branch information
ewenmcneill committed Feb 29, 2020
1 parent 03af8c2 commit 1e9e487
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/platform/verilog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ var VERILOG_KEYCODE_MAP = makeKeycodeMap([
[Keys.DOWN, 0, 0x8],
[Keys.A, 0, 0x10],
[Keys.B, 0, 0x20],
[Keys.P2_LEFT, 0, 0x1],
[Keys.P2_RIGHT, 0, 0x2],
[Keys.P2_UP, 0, 0x4],
[Keys.P2_DOWN, 0, 0x8],
[Keys.P2_A, 0, 0x10],
[Keys.P2_B, 0, 0x20],
[Keys.P2_LEFT, 1, 0x1],
[Keys.P2_RIGHT, 1, 0x2],
[Keys.P2_UP, 1, 0x4],
[Keys.P2_DOWN, 1, 0x8],
[Keys.P2_A, 1, 0x10],
[Keys.P2_B, 1, 0x20],
[Keys.START, 2, 0x1],
[Keys.P2_START, 2, 0x2],
[Keys.SELECT, 2, 0x4],
Expand Down

0 comments on commit 1e9e487

Please sign in to comment.