mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-25 06:29:17 +00:00
22 lines
334 B
Plaintext
22 lines
334 B
Plaintext
// Generic module for mouse support
|
|
// Resolutions up to 512x256 are supported
|
|
|
|
import coord
|
|
|
|
// Mouse X coordinate
|
|
x_coord mouse_x
|
|
|
|
// Mouse Y coordinate
|
|
y_coord mouse_y
|
|
|
|
// Left mouse button pressed
|
|
bool mouse_lbm
|
|
|
|
#if USE_MOUSE_MBM
|
|
// Middle mouse button pressed
|
|
bool mouse_mbm
|
|
#endif
|
|
|
|
// Right mouse button pressed
|
|
bool mouse_rbm
|