Okay different experiment

master
Allen Webster 2020-05-01 17:27:37 -07:00
parent c231d524e6
commit 9625ce293e
1 changed files with 4 additions and 1 deletions

View File

@ -919,6 +919,9 @@ mac_toggle_fullscreen(void){
// NOTE(yuval): Process keyboard event
[self process_keyboard_event:event down:true];
[self interpretKeyEvents:[NSArray arrayWithObject:event]]
#if 0
// NOTE(yuval): Process TextInsert event
{
NSString *characters = [event characters];
@ -942,7 +945,6 @@ mac_toggle_fullscreen(void){
str_8.str[i] = '\n';
}
}
Input_Event *event = push_input_event(&mac_vars.frame_arena, &mac_vars.input_chunk.trans.event_list);
event->kind = InputEventKind_TextInsert;
@ -961,6 +963,7 @@ mac_toggle_fullscreen(void){
}
}
}
#endif
}
- (void)keyUp:(NSEvent*)event{