RTEMS: cpukit/include/rtems/serial_mouse.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
serial_mouse.h File Reference

Serial Mouse Driver. More...

`#include <rtems/io.h>`

Go to the source code of this file.

## Macros
#define | SERIAL_MOUSE_DEVICE_PS2 "/dev/psaux"
| Standard device file path for a PS2 mouse device.
#define | SERIAL_MOUSE_DRIVER_TABLE_ENTRY

## Functions
rtems_device_driver | serial_mouse_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| The initialization of the serial mouse driver.
rtems_device_driver | serial_mouse_open (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| Open device driver entry point for the serial mouse driver.
rtems_device_driver | serial_mouse_close (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| Close device driver entry point for the serial mouse driver.
rtems_device_driver | serial_mouse_read (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| Read device driver entry point for the serial mouse driver.
rtems_device_driver | serial_mouse_write (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| Write device driver entry point for the serial mouse driver.
rtems_device_driver | serial_mouse_control (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
| IO Control device driver entry point for the serial mouse driver.
bool | bsp_get_serial_mouse_device (const char **name, const char **type)
| Obtain serial mouse configuration information.

## Detailed Description

Serial Mouse Driver.

This file describes the Serial Mouse Driver for all boards. This driver assumes that the BSP or application will provide an implementation of the method bsp_get_serial_mouse_device() which tells the driver what serial port device to open() and what type of mouse is connected.

This driver relies on the Mouse Parser Engine.