1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-22 00:17:03 +00:00

Documentation overhaul

This commit is contained in:
Karol Stasiak
2019-07-15 13:52:05 +02:00
parent f3dcfc78ba
commit 52c5a10e6e
47 changed files with 157 additions and 136 deletions
+5 -1
View File
@@ -1,10 +1,12 @@
[< back to index](../index.md)
[< back to index](../README.md)
## joy
The module contains global variables representing the state of the one-button joystick.
If the program is not using any joystick driver, the state of these variables is undefined.
To actually use this module, an appropriate joystick module must be used, such as `c64_joy`, `nes_joy` or `gb_joy`.
#### `sbyte input_dx`
Horizontal joystick movement. 1 if right, -1 if left, 0 if neither.
@@ -36,6 +38,8 @@ The `mouse` module automatically imports the `x_coord` module.
The module contains global variables representing the state of the mouse.
If the program is not using any mouse driver, the state of these variables is undefined.
To actually use this module, an appropriate mouse module must be used, such as `c1531`.
#### `x_coord mouse_x`
Mouse X position.