1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-05-31 18:41:30 +00:00
millfork/docs/stdlib/lynx.md

37 lines
609 B
Markdown
Raw Permalink Normal View History

2019-09-19 23:44:18 +00:00
[< back to index](../doc_index.md)
# Atari Lynx-oriented modules
## atari_lynx_hardware
2020-03-31 17:07:35 +00:00
The `atari_lynx_hardware` module is imported automatically on Atari Lynx targets.
2019-09-19 23:44:18 +00:00
2020-03-31 17:07:35 +00:00
It also implements a joystick API compatible with the [`joy` module](./joy.md).
2019-09-19 23:44:18 +00:00
TODO
#### `void lynx_init()`
TODO
#### `void lynx_wait_suzy()`
TODO
#### `alias input_a = input_btn`
1 if A button pressed, 0 if not pressed.
#### `byte input_b`
1 if B button pressed, 0 if not pressed.
#### `void read_joy()`
Reads the joypad.
#### `void lynx_reset_joy()`
#### `alias reset_joy = lynx_reset_joy!`
Resets the state variables.