Files
ti-nesulator/src/include/paddle.h
Godzil cc291907c2 Rename project from TI-NESulator to peTI-NESulator
And update all headers accordingly
2018-01-31 15:13:45 +00:00

37 lines
544 B
C
Executable File

/*
* Paddle manager - The peTI-NESulator Project
* paddle.h
*
* Created by Manoel TRAPIER.
* Copyright (c) 2003-2018 986-Studio. All rights reserved.
*
* $LastChangedDate$
* $Author$
* $HeadURL$
* $Revision$
*
*/
#ifndef PADDLE_H
#define PADDLE_H
typedef struct Paddle_
{
unsigned char Bit;
unsigned char LastWrite;
} Paddle;
unsigned char ReadPaddle(Paddle * pdl);
void InitPaddle(Paddle * pdl);
void WritePaddle(Paddle * pdl, unsigned char val);
#endif