Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed debug code. :)

  • Loading branch information
slouken committed Jul 30, 2006
1 parent 355b021 commit bb7014b870c68bb7522b2799178912785b3405cf
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/video/cocoa/SDL_cocoakeyboard.m
@@ -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];
@@ -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;
}

0 comments on commit bb7014b

Please sign in to comment.