Restore keyPressed() function to support MVK_textoverlay sample

This commit is contained in:
Stephen Saunders 2021-09-13 01:51:30 -04:00
parent a74afb20fc
commit 3941a5becd
3 changed files with 16 additions and 19 deletions

View file

@ -92,6 +92,7 @@ MVKExample* _mvkExample;
// SRS - Handle keyboard events
-(void) keyDown:(NSEvent*) theEvent {
_mvkExample->keyPressed(theEvent.keyCode);
_mvkExample->keyDown(theEvent.keyCode);
}