Merge pull request #92 from asiviero/master

Implement Home, End, Page Up, Page Down and Spacebar.
This commit is contained in:
Hyunje Alex Jun 2014-01-20 18:55:54 -08:00
commit de3bc97437

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;
} }