Skip to content

Releases: SpringRoll/Keyboard

New release to fix detection

30 Mar 17:57
Compare
Choose a tag to compare

1.0.1

21 Nov 18:09
Compare
Choose a tag to compare

Updates to user agent detection to support newer browsers (like Chromebook) and simplify logic.

1.0.0

14 May 14:24
Compare
Choose a tag to compare

Changes from last version:

  • Arrays of key names can be passed to all key functions - addKeyUp(), removeKeyDown(), etc.
  • Added addKeyRepeat() and removeKeyRepeat(), for getting repeated keydown events - does not trigger on the initial press.
  • Added restrictScrollingKeys() to prevent default behavior on arrow keys and the spacebar.
  • Added Application option preventScrollingKeys (boolean) to automatically call restrictScrollingKeys()
  • preventDefault() is called on the key up and down events if any listener says that default behavior should be prevented.

Fixed

  • If default behavior should be prevented, preventDefault() is correctly called on keydown events.

0.1.5

29 Sep 20:42
Compare
Choose a tag to compare

Fixes

  • Correctly added the keyboardLocale to application options
  • Clarified documentation

0.1.4

22 Sep 16:21
Compare
Choose a tag to compare
  • Fixed bug in removeListener which was throwing ReferenceError: i is not defined

0.1.3

26 Aug 20:22
Compare
Choose a tag to compare
  • Defaulting the Application option keepFocus to be true, this option was implemented specifically for things like Keyboard class which need to use keyboard control cross-domain within an iframe. For more information about keepFocus see the SpringRoll Container module.
  • Updated documentation

0.1.2

20 Aug 20:30
Compare
Choose a tag to compare
  • Fixed issues in addKeyDown and addKeyUp, as well as removal of those listeners.
  • Updated documentation

0.1.1

08 Jul 20:47
Compare
Choose a tag to compare

Updated to SpringRoll 0.3.8+

0.1.0

01 Jul 01:57
Compare
Choose a tag to compare

Initial release