mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 21:33:44 +00:00
16 lines
406 B
Plaintext
16 lines
406 B
Plaintext
|
/* Psddle Controllers Header File for VIC-20 */
|
||
|
|
||
|
#define BUTTNS $02 //Number of Paddle Buttons
|
||
|
#define PADDLS $02 //Number of Paddles
|
||
|
|
||
|
/* Get Paddle Button Status *
|
||
|
* Args: p = Paddle Number *
|
||
|
* Returns: $FF if Button Pressed *
|
||
|
* $00 if Not Pressed */
|
||
|
void button();
|
||
|
|
||
|
/* Get Paddle Status *
|
||
|
* Args: p = Paddle Number *
|
||
|
* Returns: Paddle Value (0-255) */
|
||
|
void paddle();
|