Implemments Home, End, pageUp, pageDown and Spacebar

This commit is contained in:
Andre Siviero 2014-01-20 20:11:42 -02:00 committed by Fernando Pinheiro
parent 40b46a4071
commit 63c6d67ad5

View File

@ -334,6 +334,19 @@
case 40: // down case 40: // down
deltaY = -3; deltaY = -3;
break; break;
case 33: // page up
deltaY = 9;
break;
case 32: // space bar
case 34: // page down
deltaY = -9;
break;
case 35: // end
deltaY = -containerHeight;
break;
case 36: // home
deltaY = containerHeight;
break;
default: default:
return; return;
} }