--- /dev/null
+Subproject commit 975690444b74e8f28ad288412c0b0c754fab2342
#testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
-all: $(EXEC)
+all: $(EXEC) joytest.exe
#$(16LIBOBJS) => 16.lib bug....
#
cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)dos && .$(DIRSEP)make.sh
$(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga$(DIRSEP)dos86h$(DIRSEP)vga.lib:
cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
+joytest.exe:
+ cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)joystick && .$(DIRSEP)make.sh && $(COPYCOMMAND) dos86h$(DIRSEP)test.exe $(PDIR)$(PDIR)$(PDIR)$(PDIR)$(PDIR)joytest.exe
#$(DOSLIBLIBS): .symbolic
# @cd $(DOSLIB)
# @.$(DIRSEP)buildall.sh
testkeyin=0;\r
testcontrolnoisy=1;\r
IN_Startup();\r
- IN_Default(0,&player,ctrl_Joystick);\r
+ IN_Default(0,&player,ctrl_Joystick1);\r
//while(!IN_KeyDown(sc_Escape))\r
player[0].q=1;\r
player[0].d=2;\r
inpu.JoysPresent[i] = checkjoys? INL_StartJoy(i) : false;\r
\r
inst.IN_Started = true;\r
+\r
}\r
\r
///////////////////////////////////////////////////////////////////////////\r
buttons += 1 << 1;\r
realdelta = false;\r
break;\r
+ case ctrl_Joypad1:\r
+ case ctrl_Joypad2:\r
case ctrl_Joystick1:\r
case ctrl_Joystick2:\r
INL_GetJoyDelta(type - ctrl_Joystick,&dx,&dy,false);\r
buttons = INL_GetMouseButtons();\r
realdelta = true;\r
break;\r
- case ctrl_Joypad1:\r
- case ctrl_Joypad2:\r
- printf("wwww");\r
- break;\r
}\r
#ifdef DEMO0\r
}\r
-Subproject commit 898ac03054dfd25c104b26cbe30eac933fb35c0a
+Subproject commit 8769e1e077daded1a3d9b4a5a05363747381a6ec