I had a look at the code and found the reason why ">" and "<" are not working :
It seems the KeyboardManager.js uses other shortcuts : "," and "." :
onKeyPress: function (e) { var key, character;
// Letters use Event.which, while arrows, etc. use Event.keyCode if (e.keyCode) { key = e.keyCode; } else if (e.which) { key = e.which; }
// Get character pressed (letters, etc) character = String.fromCharCode(key);
if (key === 37 || key === 38 || key === 39 || key === 40) { //Right-arrow if (key === 37) { $(document).trigger('move-viewport', [-8, 0]); } [.....] else if (character === "f") { $("#fullscreen-btn").click(); } else if (character === ",") { $("#timeBackBtn").click(); } else if (character === ".") { $("#timeForwardBtn").click(); }
I had a look at the code and found the reason why ">" and "<" are not working :
It seems the KeyboardManager.js uses other shortcuts : "," and "." :
onKeyPress: function (e) {
var key, character;
// Letters use Event.which, while arrows, etc. use Event.keyCode
if (e.keyCode) {
key = e.keyCode;
}
else if (e.which) {
key = e.which;
}
// Get character pressed (letters, etc) fromCharCode( key);
character = String.
if (key === 37 || key === 38 || key === 39 || key === 40) {
// Right-arrow
$(document) .trigger( 'move-viewport' , [-8, 0]);
$( "#fullscreen- btn").click( );
$( "#timeBackBtn" ).click( );
$( "#timeForwardBt n").click( );
if (key === 37) {
}
[.....]
else if (character === "f") {
}
else if (character === ",") {
}
else if (character === ".") {
}