PS2SDK
PS2 Homebrew Libraries
|
#include <ps2mouse.h>
Go to the source code of this file.
Typedefs | |
typedef mouse_data | PS2MouseData |
Functions | |
int | PS2MouseInit (void) |
int | PS2MouseRead (PS2MouseData *) |
int | PS2MouseSetReadMode (u32 readMode) |
u32 | PS2MouseGetReadMode () |
int | PS2MouseSetThres (u32 thres) |
u32 | PS2MouseGetThres () |
int | PS2MouseSetAccel (float accel) |
float | PS2MouseGetAccel () |
int | PS2MouseSetBoundary (int minx, int maxx, int miny, int maxy) |
int | PS2MouseGetBoundary (int *minx, int *maxx, int *miny, int *maxy) |
int | PS2MouseSetPosition (int x, int y) |
int | PS2MouseReset () |
u32 | PS2MouseEnum () |
int | PS2MouseSetDblClickTime (u32 msec) |
u32 | PS2MouseGetDblClickTIme () |
u32 | PS2MouseGetVersion () |
USB Mouse Driver for PS2
Definition in file libmouse.h.
typedef mouse_data PS2MouseData |
Definition at line 21 of file libmouse.h.
int PS2MouseInit | ( | void | ) |
Initialise the RPC library
Definition at line 41 of file libmouse.c.
int PS2MouseRead | ( | PS2MouseData * | data | ) |
Reads the current mouse data (depending on read mode)
Definition at line 64 of file libmouse.c.
int PS2MouseSetReadMode | ( | u32 | readMode | ) |
Sets the read mode
Definition at line 84 of file libmouse.c.
u32 PS2MouseGetReadMode | ( | ) |
Gets the current read mode
Definition at line 94 of file libmouse.c.
int PS2MouseSetThres | ( | u32 | thres | ) |
Definition at line 105 of file libmouse.c.
u32 PS2MouseGetThres | ( | ) |
Definition at line 115 of file libmouse.c.
int PS2MouseSetAccel | ( | float | accel | ) |
Definition at line 125 of file libmouse.c.
float PS2MouseGetAccel | ( | ) |
Definition at line 140 of file libmouse.c.
int PS2MouseSetBoundary | ( | int | minx, |
int | maxx, | ||
int | miny, | ||
int | maxy | ||
) |
Definition at line 154 of file libmouse.c.
int PS2MouseGetBoundary | ( | int * | minx, |
int * | maxx, | ||
int * | miny, | ||
int * | maxy | ||
) |
Definition at line 168 of file libmouse.c.
int PS2MouseSetPosition | ( | int | x, |
int | y | ||
) |
Definition at line 184 of file libmouse.c.
int PS2MouseReset | ( | ) |
Definition at line 196 of file libmouse.c.
u32 PS2MouseEnum | ( | ) |
Definition at line 205 of file libmouse.c.
int PS2MouseSetDblClickTime | ( | u32 | msec | ) |
Definition at line 227 of file libmouse.c.
u32 PS2MouseGetDblClickTIme | ( | ) |
Definition at line 238 of file libmouse.c.
u32 PS2MouseGetVersion | ( | ) |
Definition at line 216 of file libmouse.c.