1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-11 16:18:10 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Jon Peirce
af3c9d7101 Merge pull request #7 from jonathanoroberts/KeyboardEvent.indentifier-deprecated
Use non-deprecated KeyboardEvent attributes
2017-05-10 21:39:55 +01:00
Jon Roberts
db48318de8 Use non-deprecated KeyboardEvent attributes
The KeyboardEvent.keyIdentifier and .keyCode attributes
have been deprecated. the .keyIdentifier attribute has
been replaced by the .key attribute.

Change keyDownHandler to use non-deprecated attributes
KeyboardEvent.code and KeyboardEvent.key.
Change getKeys to use these attributes to identify
which key was pressed.

keyList argument passed to getKeys can contain both
key codes, e.g. "KeyM" and "Space" and key values,
e.g. "m" and " ".
2017-05-10 13:29:41 -06:00
Jon Peirce
14f363ac9a Missing ; at end of line while setting nRemaining
(also my editor squelches blank space and makes EOLs uniform)
2017-04-06 15:36:22 +01:00
Jon Peirce
65667d241e Minor change to readme to check the submodule updates elsewhere 2017-04-05 11:29:47 +01:00
Jon Peirce
0d3ae2bd94 First commit to the new repository
Ilixa have developed this code as a part of the project psychopy/psychopy
but it is now being moved to its own space, with its own issues list and
a more permissive license
2017-04-05 10:56:12 +01:00
Jon Peirce
2130138d5b Initial commit 2017-04-05 10:49:12 +01:00