X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.h;h=6752c49d12b54b8b4bef5b8b2299ed344fe747b0;hb=5af1604f7af6c1d1ab94299bfe6a4195b203a323;hp=14c88c05a06203a933b28510d311e0eb6adc6470;hpb=b8607c188acbd40fc54f6a145e6db0e8e732ec2d;p=16.git diff --git a/src/lib/16_in.h b/src/lib/16_in.h index 14c88c05..6752c49d 100755 --- a/src/lib/16_in.h +++ b/src/lib/16_in.h @@ -138,13 +138,20 @@ #define key_LSuper 0x5b #define key_RSuper 0x5c #define key_Menu 0x5d +#define sc_LBrkt 0x1a // [ +#define sc_RBrkt 0x1b // ] +#define sc_BackSlash 0x2b // | +#define sc_ForeSlash 0x35 // / ? // Stuff for the mouse -#define MReset 0 +//moved to 16_tdef.h +/*#define MReset 0 #define MButtons 3 #define MDelta 11 -#define MouseInt 0x33 +#define MouseInt 0x33*/ +#define Mouse(x) _AX = x,geninterrupt(MouseInt) + #ifdef DEMO0 typedef enum { demo_Off,demo_Record,demo_Playback,demo_PlayDone @@ -241,8 +248,6 @@ void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_ void IN_StartAck(global_game_variables_t *gvar); boolean IN_CheckAck (global_game_variables_t *gvar); boolean IN_IsUserInput(global_game_variables_t *gvar); -#define Mouse(x) INL_Mouse(x) -//void IN_SetKeyHook(void (*hook)()); #if DEMO0 boolean IN_StartDemoRecord(word bufsize); void IN_StartDemoPlayback(byte *buffer,word bufsize);