Merge pull request #92 from asiviero/master
Implement Home, End, Page Up, Page Down and Spacebar.
This commit is contained in:
commit
de3bc97437
@ -334,6 +334,19 @@
|
||||
case 40: // down
|
||||
deltaY = -3;
|
||||
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:
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user