Skip to content
This repository has been archived by the owner on May 5, 2018. It is now read-only.

Can register characters for keypress command, not just codes #482

Closed
wants to merge 2 commits into from

Commits on Mar 11, 2013

  1. Can register characters for keypress command, not just codes

    Can register an actual character in the keypress, keyup and keydown
    directives (e.g. 'a' instead of 65/97)
    
    Handles the different values for keycodes on keyup/down and keypress
    both with and without JQuery.
    
    Tested with automated tests, IE9, latest Chrome and Firefox on Windows
    7.
    dturkenk committed Mar 11, 2013
    Copy the full SHA
    470f260 View commit details
    Browse the repository at this point in the history
  2. Fixed issue with shift-char

    Using a modifier key should work with the character.
    
    IMPORTANT: characters will be converted to lower-case. If you want to
    capture only an upper-case character, use shift-char.
    dturkenk committed Mar 11, 2013
    Copy the full SHA
    bbaf811 View commit details
    Browse the repository at this point in the history