Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

mouse.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include "hd.h"
#include "hd_int.h"
#include "mouse.h"

Functions

unsigned read_data (hd_data_t *hd_data, int fd, unsigned char *buf, unsigned buf_size)
void get_ps2_mouse (hd_data_t *hd_data)
void test_ps2_open (void *arg)
void get_serial_mouse (hd_data_t *hd_data)
void add_serial_mouse (hd_data_t *hd_data)
int _setspeed (int fd, int old, int new, int needtowrite, unsigned short flags)
void setspeed (int fd, int new, int needtowrite, unsigned short flags)
unsigned chk4id (ser_device_t *mi)
ser_device_tadd_ser_mouse_entry (ser_device_t **sm, ser_device_t *new_sm)
void dump_ser_mouse_data (hd_data_t *hd_data)
void get_sunmouse (hd_data_t *hd_data)
void hd_scan_mouse (hd_data_t *hd_data)

Function Documentation

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

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

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_ps2_mouse hd_data_t hd_data  )  [static]
 

void get_serial_mouse hd_data_t hd_data  )  [static]
 

void get_sunmouse hd_data_t hd_data  )  [static]
 

void hd_scan_mouse hd_data_t hd_data  ) 
 

unsigned read_data hd_data_t hd_data,
int  fd,
unsigned char *  buf,
unsigned  buf_size
[static]
 

void setspeed int  fd,
int  new,
int  needtowrite,
unsigned short  flags
[static]
 

void test_ps2_open void *  arg  )  [static]