Skip to content

Releases: SpringRoll/Keyboard

New release to fix detection

Choose a tag to compare

@wrbright wrbright released this 30 Mar 17:57
0.1.6

Upped Version

1.0.1

Choose a tag to compare

@chipbell4 chipbell4 released this 21 Nov 18:09

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

1.0.0

Choose a tag to compare

@andrewstart andrewstart released this 14 May 14:24

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

Choose a tag to compare

@thebarge thebarge released this 29 Sep 20:42

Fixes

  • Correctly added the keyboardLocale to application options
  • Clarified documentation

0.1.4

Choose a tag to compare

@bigtimebuddy bigtimebuddy released this 22 Sep 16:21
  • Fixed bug in removeListener which was throwing ReferenceError: i is not defined

0.1.3

Choose a tag to compare

@bigtimebuddy bigtimebuddy released this 26 Aug 20:22
  • 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

Choose a tag to compare

@bigtimebuddy bigtimebuddy released this 20 Aug 20:30
  • Fixed issues in addKeyDown and addKeyUp, as well as removal of those listeners.
  • Updated documentation

0.1.1

Choose a tag to compare

@bigtimebuddy bigtimebuddy released this 08 Jul 20:47

Updated to SpringRoll 0.3.8+

0.1.0

Choose a tag to compare

@bigtimebuddy bigtimebuddy released this 01 Jul 01:57

Initial release