mirror of
https://github.com/tschak909/platotermClassicMac.git
synced 2025-01-16 06:29:50 +00:00
40 lines
427 B
C
40 lines
427 B
C
|
#include "touch.h"
|
||
|
#include "screen.h"
|
||
|
|
||
|
#define X(x) (x)
|
||
|
#define Y(y) (y^0x1FF)
|
||
|
|
||
|
padBool lmb=padF;
|
||
|
padBool lastlmb=padF; /* left mouse button state */
|
||
|
padBool isAllowed;
|
||
|
|
||
|
/**
|
||
|
* touch_init(void)
|
||
|
* Initiialize mouse
|
||
|
*/
|
||
|
void touch_init(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* enable/disable mouse cursor
|
||
|
*/
|
||
|
void touch_allow(padBool allow)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
padBool touch_lmb(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void touch_main(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* touch done
|
||
|
*/
|
||
|
void touch_done(void)
|
||
|
{
|
||
|
}
|