Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed debug code. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 30, 2006
1 parent 355b021 commit bb7014b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/video/cocoa/SDL_cocoakeyboard.m
Expand Up @@ -530,7 +530,6 @@
if ([event isARepeat]) {
break;
}
printf("NSKeyDown: %x, %x\n", scancode, [event modifierFlags]);
SDL_SendKeyboardKey(data->keyboard, SDL_PRESSED, (Uint8)scancode,
data->keymap[scancode]);
text = [[event characters] UTF8String];
Expand All @@ -539,12 +538,10 @@
}
break;
case NSKeyUp:
printf("NSKeyUp: %x, %x\n", scancode, [event modifierFlags]);
SDL_SendKeyboardKey(data->keyboard, SDL_RELEASED, (Uint8)scancode,
data->keymap[scancode]);
break;
case NSFlagsChanged:
printf("NSFlagsChanged: %x, %x\n", scancode, [event modifierFlags]);
HandleModifiers(_this, scancode, [event modifierFlags]);
break;
}
Expand Down

0 comments on commit bb7014b

Please sign in to comment.