Annotation of ntddk/src/input/sermouse/cseries.h, revision 1.1

1.1     ! root        1: /*++
        !             2: 
        !             3: Copyright (c) 1993  Microsoft Corporation
        !             4: Copyright (c) 1993  Logitech Inc.
        !             5: 
        !             6: Module Name:
        !             7: 
        !             8:     cseries.h
        !             9: 
        !            10: Abstract:
        !            11: 
        !            12:     Support for the Logitech CSeries type mice.
        !            13: 
        !            14: Environment:
        !            15: 
        !            16:     Kernel mode only.
        !            17: 
        !            18: Notes:
        !            19: 
        !            20: Revision History:
        !            21: 
        !            22: --*/
        !            23: 
        !            24: #ifndef CSERIES_H
        !            25: #define CSERIES_H
        !            26: 
        !            27: 
        !            28: //
        !            29: // Includes.
        !            30: //
        !            31: 
        !            32: #include "uart.h"
        !            33: 
        !            34: #define CSER_PROTOCOL_MM        0
        !            35: #define CSER_PROTOCOL_MAX       1
        !            36: 
        !            37: //
        !            38: // Not implemented in this release.
        !            39: //
        !            40: //#define CSER_PROTOCOL_3B      1
        !            41: //#define CSER_PROTOCOL_5B      2
        !            42: //#define CSER_PROTOCOL_M       3
        !            43: //#define CSER_PROTOCOL_RBPO    4
        !            44: //#define CSER_PROTOCOL_ABPO    5
        !            45: //#define CSER_PROTOCOL_MAX     6
        !            46: 
        !            47: //
        !            48: // Time needed for a CSeries mouse to power up.
        !            49: //
        !            50: #define CSER_POWER_UP 500
        !            51: 
        !            52: //
        !            53: // The minimum inactive time needed for the mouse to power down correctly.
        !            54: //
        !            55: #define CSER_POWER_DOWN 500
        !            56: 
        !            57: //
        !            58: // Function prototypes.
        !            59: //
        !            60: 
        !            61: BOOLEAN
        !            62: CSerPowerUp(
        !            63:     PUCHAR Port
        !            64:     );
        !            65: 
        !            66: VOID
        !            67: CSerSetReportRate(
        !            68:     PUCHAR Port,
        !            69:     UCHAR ReportRate
        !            70:     );
        !            71: 
        !            72: VOID
        !            73: CSerSetBaudRate(
        !            74:     PUCHAR Port,
        !            75:     ULONG BaudRate,
        !            76:     ULONG BaudClock
        !            77:     );
        !            78: 
        !            79: PPROTOCOL_HANDLER
        !            80: CSerSetProtocol(
        !            81:     PUCHAR Port,
        !            82:     UCHAR NewProtocol
        !            83:     );
        !            84: 
        !            85: BOOLEAN
        !            86: CSerDetect(
        !            87:     PUCHAR Port,
        !            88:     ULONG BaudClock
        !            89:     );
        !            90: 
        !            91: BOOLEAN
        !            92: CSerHandlerMM(
        !            93:     IN PMOUSE_INPUT_DATA CurrentInput,
        !            94:     IN PHANDLER_DATA HandlerData,
        !            95:     IN UCHAR Value,
        !            96:     IN UCHAR LineState
        !            97:     );
        !            98: 
        !            99: #endif // CSERIES_H

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.