tl_dpp.h

来自「DC上的GB模拟器源代码」· C头文件 代码 · 共 36 行

H
36
字号
/*
** thinlib (c) 2001 Matthew Conte (matt@conte.com)
**
**
** tl_dpp.h
**
** DOS DirectPad Pro scanning code prototypes
**
** $Id: $
*/

#ifndef _TL_DPP_H_
#define _TL_DPP_H_

#include "tl_types.h"

typedef struct dpp_s
{
/* private: */
   uint16 port; /* LPT port */
/* public: */
   int down, up, left, right;
   int b, a, select, start;
} dpp_t;

extern int thin_dpp_add(uint16 port, int pad_num);
extern int thin_dpp_init(void);
extern void thin_dpp_shutdown(void);
extern void thin_dpp_read(dpp_t *pad, int pad_num);

#endif /* !_TL_DPP_H_ */

/*
** $Log: $
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?