So I have this simple slideshow:
-
You can detect arrow key presses in JavaScript and then attach each key to an event. This SO answer shows how it's done but essentially:
document.onkeydown = checkKey;
function checkKey(e) {
e = e || window.event;
if (e.keyCode == '37') {
// left arrow
}
else if (e.keyCode == '39') {
// right arrow
}
}