mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 17:56:21 +00:00
Minor changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4e3fcec239
commit
fee7b6dc3b
@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
/* Mouse button masks */
|
/* Mouse button masks */
|
||||||
#define MOUSE_BTN_LEFT 0x10
|
#define MOUSE_BTN_LEFT 0x10
|
||||||
|
#define MOUSE_BTN_RIGHT 0x01
|
||||||
|
|
||||||
/* Structure containing the mouse coordinates */
|
/* Structure containing the mouse coordinates */
|
||||||
struct mouse_pos {
|
struct mouse_pos {
|
||||||
@ -68,8 +69,7 @@ struct mouse_pos {
|
|||||||
|
|
||||||
/* Structure containing information about the mouse */
|
/* Structure containing information about the mouse */
|
||||||
struct mouse_info {
|
struct mouse_info {
|
||||||
int xpos; /* Mouse x position */
|
struct mouse_pos pos; /* Mouse position */
|
||||||
int ypos; /* Mouse y position */
|
|
||||||
unsigned char buttons; /* Mouse button mask */
|
unsigned char buttons; /* Mouse button mask */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user