]> 4ch.mooo.com Git - 16.git/blobdiff - 16/src/lib/16_in.c
wwwwwwwwww
[16.git] / 16 / src / lib / 16_in.c
index 9701442648adf20c7f7faf7fd46b46907a0ed5c2..1abf31a324c03ca3acb27ff39e71f7dfea4c6488 100644 (file)
@@ -674,6 +674,16 @@ IN_Default(boolean gotit,player_t *player,ControlType nt)
        ||      ((nt == ctrl_Joypad2) && !inpu.JoyPadPresent[1])
        )
                nt = ctrl_Keyboard1;
+       inpu.KbdDefs[0].button0 = 0x1d;
+       inpu.KbdDefs[0].button1 = 0x38;
+       //in.KbdDefs[0].upleft = 0x47;
+       inpu.KbdDefs[0].up = 0x48;
+       //in.KbdDefs[0].upright = 0x49;
+       inpu.KbdDefs[0].left = 0x4b;
+       inpu.KbdDefs[0].right = 0x4d;
+       //in.KbdDefs[0].downleft = 0x4f;
+       inpu.KbdDefs[0].down = 0x50;
+       //in.KbdDefs[0].downright = 0x51;
        IN_SetControlType(0,player,nt);
 }