repo.or.cz
/
bcl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
using sizeof(int) instead of 4
[bcl.git]
/
mouse.h
blob
48aa5ec907e796c2466b2abd470fe3ad9d961c59
1
#ifndef _keyboard_h
2
#define _keyboard_h
3
4
typedef
struct
mouse_t
{
5
int
butten1
;
6
int
butten2
;
7
int
butten3
;
8
int
butten4
;
9
int
butten5
;
10
int
x
;
11
int
y
;
12
}
mouse
;
13
extern
DECLSPEC mouse
*
getMouseState
(
void
);
14
extern
DECLSPEC
void
setMousePosition
(
int
x
,
int
y
);
15
extern
DECLSPEC
int
isMouseButtonDown
(
int
b
);
16
17
#endif