PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
libmouse.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#ifndef __LIBMOUSE_H__
17#define __LIBMOUSE_H__
18
19#include <ps2mouse.h>
20
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
28int PS2MouseInit(void);
32int PS2MouseSetReadMode(u32 readMode);
35
36int PS2MouseSetThres(u32 thres);
37u32 PS2MouseGetThres();
38int PS2MouseSetAccel(float accel);
39float PS2MouseGetAccel();
40int PS2MouseSetBoundary(int minx, int maxx, int miny, int maxy);
41int PS2MouseGetBoundary(int *minx, int *maxx, int *miny, int *maxy);
42int PS2MouseSetPosition(int x, int y);
43int PS2MouseReset();
44u32 PS2MouseEnum();
45int PS2MouseSetDblClickTime(u32 msec);
46u32 PS2MouseGetDblClickTIme();
47u32 PS2MouseGetVersion();
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __LIBMOUSE_H__ */
int PS2MouseRead(PS2MouseData *)
Definition libmouse.c:64
int PS2MouseSetReadMode(u32 readMode)
Definition libmouse.c:84
int PS2MouseInit(void)
Definition libmouse.c:41
u32 PS2MouseGetReadMode()
Definition libmouse.c:94