Difference for main/key.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 1
 
Line 1
 //main/key.c : arch-independant key stuff. Added 2000/01/16 Matt Mueller   //main/key.c : arch-independant key stuff. Added 2000/01/16 Matt Mueller
 // Previously there was a huge amount of duplication (and usually unhandled keys I had to fix whenever I started using a new arch).   // Previously there was a huge amount of duplication (and usually unhandled keys I had to fix whenever I started using a new arch).
 // Now they only have to define a few arch_ funcs to get keys, ARCH_KEY defines, and this will handle the rest.  It is basically what arch/sdl/key.c used to be, minus the SDL specific stuff.   // Now they only have to define a few arch_ funcs to get keys, ARCH_KEY defines, and this will handle the rest.  It is basically what arch/sdl/key.c used to be, minus the SDL specific stuff (and with correct key repeat)
    
 #include "key.h"   #include "key.h"
 //arch-specific defines   //arch-specific defines

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2