Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changeable keybindings #5

Open
matthewbauer opened this issue May 21, 2015 · 0 comments
Open

Changeable keybindings #5

matthewbauer opened this issue May 21, 2015 · 0 comments
Milestone

Comments

@matthewbauer
Copy link
Owner

Right now the keybindings are defined in src/renderer/player.coffee as

keymaps =
  'player':
    'y': 'joypad:0:y'
    'x': 'joypad:0:x'
    'b': 'joypad:0:b'
    'l': 'joypad:0:l'
    'r': 'joypad:0:r'
    'ArrowUp': 'joypad:0:up'
    'ArrowDown': 'joypad:0:down'
    'ArrowLeft': 'joypad:0:left'
    'ArrowRight': 'joypad:0:right'
    'Enter': 'joypad:0:start'
    'Shift': 'joypad:0:select'
    'k': 'joypad:0:b'
    'j': 'joypad:0:y'
    'l': 'joypad:0:a'
    'i': 'joypad:0:x'
    'a': 'joypad:0:left'
    's': 'joypad:0:down'
    'd': 'joypad:0:right'
    'w': 'joypad:0:up'

These should be configurable by the user.

@matthewbauer matthewbauer mentioned this issue May 21, 2015
3 tasks
@matthewbauer matthewbauer modified the milestone: 0.8.0 May 21, 2015
@matthewbauer matthewbauer changed the title Changeable Keybindings Changeable keybindings May 21, 2015
@matthewbauer matthewbauer modified the milestones: 0.8.0, 0.9.0 Jun 8, 2015
@matthewbauer matthewbauer reopened this Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant