Mouse devices
[Device handling]

Mouse detection. More...

Functions

static void get_serial_mouse (hd_data_t *hd_data)
static void add_serial_mouse (hd_data_t *hd_data)
static int _setspeed (int fd, int old, int new, int needtowrite, unsigned short flags)
static void setspeed (int fd, int new, int needtowrite, unsigned short flags)
static unsigned chk4id (ser_device_t *mi)
static ser_device_tadd_ser_mouse_entry (ser_device_t **sm, ser_device_t *new_sm)
static void dump_ser_mouse_data (hd_data_t *hd_data)
void hd_scan_mouse (hd_data_t *hd_data)

Detailed Description

Mouse detection.

Todo:
reset serial lines to old values (cf. modem.c)

Function Documentation

int _setspeed ( int  fd,
int  old,
int  new,
int  needtowrite,
unsigned short  flags 
) [static]

Referenced by setspeed().

ser_device_t * add_ser_mouse_entry ( ser_device_t **  sm,
ser_device_t new_sm 
) [static]

References s_ser_device_t::next.

Referenced by get_serial_mouse().

void add_serial_mouse ( hd_data_t hd_data  )  [static]
unsigned chk4id ( ser_device_t mi  )  [static]
void dump_ser_mouse_data ( hd_data_t hd_data  )  [static]
void get_serial_mouse ( hd_data_t hd_data  )  [static]
void hd_scan_mouse ( hd_data_t hd_data  ) 
void setspeed ( int  fd,
int  new,
int  needtowrite,
unsigned short  flags 
) [static]

References _setspeed().

Referenced by get_serial_mouse().