Godzil b2b066ba22 Change button name to proper name and add missing (Seriously why it was missing?) support for the Y buttons.
Removed the "flipped" flag as it should not be part of the IO logic.
2019-09-10 16:00:55 +01:00

35 lines
708 B
C

//////////////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////////////
//
//
//
//
//
//
//////////////////////////////////////////////////////////////////////////////
#ifndef __IO_H__
#define __IO_H__
extern uint8 *ws_ioRam;
extern uint8 ws_key_start;
extern uint8 ws_key_x4;
extern uint8 ws_key_x2;
extern uint8 ws_key_x1;
extern uint8 ws_key_x3;
extern uint8 ws_key_y4;
extern uint8 ws_key_y2;
extern uint8 ws_key_y1;
extern uint8 ws_key_y3;
extern uint8 ws_key_button_a;
extern uint8 ws_key_button_b;
void ws_io_init(void);
void ws_io_reset(void);
void ws_io_flipControls(void);
void ws_io_done(void);
#endif