Commit MetaInfo

Revision1bebdeb97d70c11273a69674eb736ab274802c0a (tree)
Time2021-09-24 08:01:14
Authorsparky4 <sparky4@cock...>
Commitersparky4

Log Message

update repo

Change Summary

Incremental Difference

--- a/src/inputest.c
+++ b/src/inputest.c
@@ -45,7 +45,7 @@ main(int argc, char *argv[])
4545 ctrl_Keyboard1
4646 #endif
4747 #if defined(INPUTEST_JOYSTICKPADTEST) && !defined(INPUTEST_MOUSETEST)
48- ctrl_Joystick1
48+ ctrl_Joystick2
4949 #endif
5050 #if !defined(INPUTEST_JOYSTICKPADTEST) && defined(INPUTEST_MOUSETEST)
5151 ctrl_Mouse
--- a/src/lib/16_in.c
+++ b/src/lib/16_in.c
@@ -377,9 +377,9 @@ done:
377377 void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar)
378378 {
379379 word x,y;
380-//00 word TimeCount = *clockw;
380+//00++++ word TimeCount = *clockw;
381381 JoystickDef *def;
382-//00static word lasttime;
382+//00++++static word lasttime;
383383
384384 IN_GetJoyAbs(joy,&x,&y);
385385 def = gvar->in.JoyDefs + joy;
@@ -440,7 +440,7 @@ void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_
440440 // *dy *= time;
441441 // }
442442 // }
443-//00 lasttime = TimeCount;
443+//00++++ lasttime = TimeCount;
444444 }
445445
446446 ///////////////////////////////////////////////////////////////////////////
@@ -470,15 +470,15 @@ register word result;
470470 word
471471 IN_GetJoyButtonsDB(word joy)
472472 {
473-//00 word TimeCount = *clockw;
474-//00 word lasttime;
473+//00++++ word TimeCount = *clockw;
474+//00++++ word lasttime;
475475 word result1,result2;
476476
477477 do
478478 {
479479 result1 = INL_GetJoyButtons(joy);
480-//00 lasttime = TimeCount;
481-//00 while(TimeCount == lasttime)
480+//00++++ lasttime = TimeCount;
481+//00++++ while(TimeCount == lasttime)
482482 //;
483483 result2 = INL_GetJoyButtons(joy);
484484 } while(result1 != result2);
Show on old repository browser