libhd 5.0

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

◆ _setspeed()

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

Referenced by setspeed().

◆ add_ser_mouse_entry()

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().

◆ add_serial_mouse()

◆ chk4id()

◆ dump_ser_mouse_data()

◆ get_serial_mouse()

◆ hd_scan_mouse()

◆ setspeed()

void setspeed ( int fd,
int new,
int needtowrite,
unsigned short flags )
static

References _setspeed().

Referenced by get_serial_mouse().