mouse.c File Reference

Include dependency graph for mouse.c:

Go to the source code of this file.

Data Structures

struct  ps2packet_t

Defines

#define i8042_MOUSE_DATA   0x20
#define BUFSIZE   3

Functions

static int bit9toint (int sign, unsigned char data)
int mouse_arch_process (int phoneid, ipc_call_t *call)

Variables

static ps2packet_t buf
static int bufpos = 0
static int leftbtn = 0
static int rightbtn = 0
static int middlebtn = 0


Define Documentation

#define i8042_MOUSE_DATA   0x20
 

Definition at line 34 of file mouse.c.

#define BUFSIZE   3
 

Definition at line 36 of file mouse.c.

Referenced by mouse_arch_process().


Function Documentation

static int bit9toint int  sign,
unsigned char  data
[static]
 

Convert 9-bit 2-complement signed number to integer

Definition at line 63 of file mouse.c.

Referenced by mouse_arch_process().


Variable Documentation

ps2packet_t buf [static]
 

Definition at line 56 of file mouse.c.

Referenced by init_mparams(), main(), and mouse_arch_process().

int bufpos = 0 [static]
 

Definition at line 57 of file mouse.c.

Referenced by mouse_arch_process().

int leftbtn = 0 [static]
 

Definition at line 58 of file mouse.c.

Referenced by mouse_arch_process().

int rightbtn = 0 [static]
 

Definition at line 59 of file mouse.c.

Referenced by mouse_arch_process().

int middlebtn = 0 [static]
 

Definition at line 60 of file mouse.c.

Referenced by mouse_arch_process().


Generated on Sun Jun 18 17:55:24 2006 for HelenOS Userspace (ia32) by  doxygen 1.4.6