Jump to content

metaKey property for Phaser.Key?


johncip
 Share

Recommended Posts

Does anyone know why Phaser.Key objects don't contain a metaKey property? There are properties for shiftKey, ctrlKey, and altKey, but metaKey is missing and could be useful on some platforms, for instance, if you want to handle "R" on OS X but avoid handling "Cmd+R."

 

JS key events in modern browsers provide metaKey the same as the others, so it seems easy enough to add it in. I can make a pull request, I just wanted to check here first.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...