Skip to content

Commit

Permalink
Update right controller pad keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaer Kazmer committed Jul 23, 2018
1 parent d04de2f commit db41199
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion assets/frontend/bundle/libretro.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,42 @@ function initScene() {
LEFT_PAD_KEYS.downRight = LEFT_PAD_KEYS.down.concat(LEFT_PAD_KEYS.right);
const RIGHT_PAD_KEYS = {
left: [
{
keyCode: 65,
which: 65,
charCode: 0,
key: 'A',
code: 'KeyA',
},
],
right: [
{
keyCode: 88,
which: 88,
charCode: 0,
key: 'X',
code: 'KeyX',
},
],
up: [
{
keyCode: 83,
which: 83,
charCode: 0,
key: 'S',
code: 'KeyS',
},
],
down: [
{
keyCode: 90,
which: 90,
charCode: 0,
key: 'Z',
code: 'KeyZ',
},
],
/* left: [
{
keyCode: 49,
which: 49,
Expand Down Expand Up @@ -882,7 +918,7 @@ function initScene() {
key: '2',
code: 'Digit2',
},
],
], */
upLeft: null,
upRight: null,
downLeft: null,
Expand Down

0 comments on commit db41199

Please sign in to comment.