Changeset fa38804 in buchla-68k for ram/wheel.c


Ignore:
Timestamp:
07/14/2017 04:18:35 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ace9ee7
Parents:
1efe224
Message:

Removed form-feed comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/wheel.c

    r1efe224 rfa38804  
    3030#define M_NORESP        3               /* No response from mouse */
    3131#define M_RESPNG        4               /* Bad response from mouse */
    32 
    33 /*
    34 
    35 */
    3632
    3733#if     DEBUGMS
     
    7672int16_t tkhdvr = TKCDVR;        /* text cursor horizontal movement threshold */
    7773int16_t tkvdvr = TKCDVR;        /* text cursor vertical movement threshold */
    78 
    79 /*
    80 
    81 */
    8274
    8375int16_t msxgdv[13] = {          /* mouse x cursor divisor table */
     
    117109#include "swrtab.h"             /* long swrtab[128]; */
    118110
    119 /*
    120 
    121 */
    122 
    123111/*
    124112   =============================================================================
     
    143131}
    144132
    145 /*
    146 
    147 */
    148 
    149133/*
    150134   =============================================================================
     
    196180}
    197181
    198 /*
    199 
    200 */
    201 
    202182/*
    203183   =============================================================================
     
    240220}
    241221
    242 /*
    243 
    244 */
    245 
    246222/*
    247223   =============================================================================
     
    309285        return(FAILURE);
    310286}
    311 
    312 
    313 /*
    314 
    315 */
    316287
    317288/*
     
    377348        }
    378349
    379 /*
    380 
    381 */
    382 
    383350        msxmov  =  str[1] | ((str[0] & 0x0003) << 6);
    384351
     
    421388        else
    422389                msyres = 0;
    423 
    424 /*
    425 
    426 */
    427390
    428391        if ((cxrate EQ 0) AND (cyrate EQ 0))    /* we're done if nothing changed */
     
    449412}
    450413
    451 /*
    452 
    453 */
    454 
    455414/*
    456415   =============================================================================
     
    483442        }
    484443}
    485 
    486 /*
    487 
    488 */
    489444
    490445#if     DEBUGTF
     
    538493#endif
    539494
    540 /*
    541 
    542 */
    543 
    544495/*
    545496   =============================================================================
     
    567518                        for (i = 0; i < NSWFIFO; i++)
    568519                                swfifo[i] = aval;
    569 /*
    570 
    571 */
     520
    572521                } else {                /* finger moved */
    573522
     
    621570                        }
    622571                }
    623 /*
    624 
    625 */
     572
    626573        } else {        /* FINGER UP */
    627574
     
    660607        }
    661608}
    662 
    663 /*
    664 
    665 */
    666609
    667610/*
     
    702645                cxrate = 0;                             /* X inactive */
    703646
    704 /*
    705 
    706 */
     647
    707648        if ((tyndx = tyfiin - tkback) < 0)      /* get fifo index */
    708649                tyndx += NTKFIFO;               /* adjust index */
     
    740681}
    741682
    742 /*
    743 
    744 */
    745 
    746683/*
    747684   =============================================================================
     
    781718#endif
    782719}
    783 
    784 /*
    785 
    786 */
    787720
    788721/*
     
    820753                                txydn();        /* both active now */
    821754
    822 /*
    823 
    824 */
     755
    825756                } else {                        /* finger moved ? */
    826757
     
    865796                        }
    866797                }
    867 /*
    868 
    869 */
     798
    870799        } else {                                /* AXIS GOING INACTIVE */
    871800
     
    877806        }
    878807}
    879 
    880 /*
    881 
    882 */
    883808
    884809/*
     
    914839                        if (txflag AND (NOT tkboth))
    915840                                txydn();        /* both active now */
    916 /*
    917 
    918 */
     841
    919842                } else {                        /* finger moved ? */
    920843
     
    959882                        }
    960883                }
    961 /*
    962 
    963 */
     884
    964885        } else {                                /* AXIS GOING INACTIVE */
    965886
     
    971892        }
    972893}
    973 
    974 /*
    975 
    976 */
    977894
    978895/*
     
    1023940                }
    1024941        }
    1025 /*
    1026 
    1027 */
     942
    1028943        /* PROCESS MOUSE INPUTS */
    1029944
     
    1061976                                cmfix();        /* ... adjust the rates */
    1062977
    1063 /*
    1064 
    1065 */
     978
    1066979                        if ((cxrate NE 0) AND (msctrl OR (chwait LE 0)))        /* UPDATE X VALUES */
    1067980                                (*cx_upd)();
     
    11091022                }
    11101023        }
    1111 /*
    1112 
    1113 */
     1024
    11141025        /* CHECK THE MOUSE MOTION TIMER */
    11151026
     
    11411052        }
    11421053
    1143 /*
    1144 
    1145 */
     1054
    11461055        /* UPDATE THE CURSOR TIMERS */
    11471056
     
    11661075                setipl(oldi);
    11671076        }
    1168 /*
    1169 
    1170 */
     1077
    11711078        /* PROCESS THE SCROLL WHEEL */
    11721079
     
    12141121                        }
    12151122                }
    1216 /*
    1217 
    1218 */
     1123
    12191124                if (swflag OR swctrl) {         /* RESET THE SCROLL TIMER */
    12201125
     
    12251130        }
    12261131}
    1227 
    1228 /*
    1229 
    1230 */
    12311132
    12321133/*
Note: See TracChangeset for help on using the changeset viewer.