pcem/src/allegro-mouse.c
SarahW fb3d3d594b Fixed building under Linux
Linux GUI brought up to date
2017-01-10 16:38:52 +00:00

32 lines
442 B
C

#include "allegro-main.h"
#include "plat-mouse.h"
int mouse_buttons;
void mouse_init()
{
install_mouse();
}
void mouse_close()
{
}
void mouse_poll_host()
{
//poll_mouse();
mouse_buttons = mouse_b;
}
void mouse_get_mickeys(int *x, int *y, int *z)
{
if (mousecapture)
{
get_mouse_mickeys(x, y);
*z = 0;
// position_mouse(64, 64);
}
else
*x = *y = *z = 0;
}