VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Additions/x11/vboxmouse
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r32623 r33540  
    2929 vboxmouse_drv_DEFS.x86 += __i386__
    3030 # This one has to be defined when building server code on systems where
    31  # unslgned long is 64bits
     31 # unsigned long is 64bits
    3232 vboxmouse_drv_DEFS.amd64 += _XSERVER64
    3333 vboxmouse_drv_DEFS += \
  • trunk/src/VBox/Additions/x11/vboxmouse/mouse.c

    r31415 r33540  
    10441044        xf86WriteSerial(pInfo->fd, "R", 1);     /* Set Output Rate = "45 rps" */
    10451045        usleep(50000);
    1046         xf86WriteSerial(pInfo->fd, "I\x20", 2); /* Set Incrememtal Mode "20" */
     1046        xf86WriteSerial(pInfo->fd, "I\x20", 2); /* Set Incremental Mode "20" */
    10471047        usleep(50000);
    10481048        xf86WriteSerial(pInfo->fd, "E", 1);     /* Set Data Type = "Relative */
     
    11471147     * Set blocking to -1 on the first call because we know there is data to
    11481148     * read. Xisb automatically clears it after one successful read so that
    1149      * succeeding reads are preceeded by a select with a 0 timeout to prevent
     1149     * succeeding reads are preceded by a select with a 0 timeout to prevent
    11501150     * read from blocking indefinitely.
    11511151     */
     
    12001200                /*
    12011201                 * [KAZU-030897]
    1202                  * Receive the fourth byte only when preceeding three bytes
     1202                 * Receive the fourth byte only when preceding three bytes
    12031203                 * have been detected (pBufP >= pMse->protoPara[4]).  In the
    12041204                 * previous versions, the test was pBufP == 0; we may have
    1205                  * mistakingly received a byte even if we didn't see anything
    1206                  * preceeding the byte.
     1205                 * mistakenly received a byte even if we didn't see anything
     1206                 * preceding the byte.
    12071207                 */
    12081208
     
    17961796 * action < 0: ButtonRelease
    17971797 *
    1798  * The comment preceeding each section is the current emulation state.
     1798 * The comment preceding each section is the current emulation state.
    17991799 * The comments to the right are of the form
    18001800 *      <button state> (<events>) -> <new emulation state>
  • trunk/src/VBox/Additions/x11/vboxmouse/pnp.c

    r6202 r33540  
    5959/* PnP EISA/product IDs */
    6060static symtab_t pnpprod[] = {
    61     { "KML0001",  PROT_THINKING },      /* Kensignton ThinkingMouse */
     61    { "KML0001",  PROT_THINKING },      /* Kensington ThinkingMouse */
    6262    { "MSH0001",  PROT_IMSERIAL },      /* MS IntelliMouse */
    6363    { "MSH0004",  PROT_IMSERIAL },      /* MS IntelliMouse TrackBall */
     
    9292    { "PNP0F0A",  PROT_MS },            /* MS PnP serial */
    9393    { "PNP0F0B",  PROT_MS },            /* MS PnP BallPoint serial */
    94     { "PNP0F0C",  PROT_MS },            /* MS serial comatible */
    95     { "PNP0F0D",  PROT_BM },            /* MS InPort comatible */
    96     { "PNP0F0E",  PROT_PS2 },           /* MS PS/2 comatible */
    97     { "PNP0F0F",  PROT_MS },            /* MS BallPoint comatible */
     94    { "PNP0F0C",  PROT_MS },            /* MS serial compatible */
     95    { "PNP0F0D",  PROT_BM },            /* MS InPort compatible */
     96    { "PNP0F0E",  PROT_PS2 },           /* MS PS/2 compatible */
     97    { "PNP0F0F",  PROT_MS },            /* MS BallPoint compatible */
    9898#ifdef notyet
    9999    { "PNP0F10",  PROT_??? },           /* TI QuickPort */
    100100#endif
    101     { "PNP0F11",  PROT_BM },            /* MS bus comatible */
     101    { "PNP0F11",  PROT_BM },            /* MS bus compatible */
    102102    { "PNP0F12",  PROT_PS2 },           /* Logitech PS/2 */
    103103    { "PNP0F13",  PROT_PS2 },           /* PS/2 */
     
    221221        usleep(200000);
    222222
    223         /* wait for respose, 2nd phase (2.1.6) */
     223        /* wait for response, 2nd phase (2.1.6) */
    224224        xf86FlushInput(pInfo->fd);
    225225        i = TIOCM_DTR | TIOCM_RTS;      /* DTR = 1, RTS = 1 */
     
    246246    xf86SetSerial(pInfo->fd, pnpOpts);
    247247
    248     /* wait for respose */
     248    /* wait for response */
    249249    xf86FlushInput(pInfo->fd);
    250250    i = XF86_M_DTR | XF86_M_RTS;        /* DTR = 1, RTS = 1 */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette