📄 tl_dpp.h
字号:
/*
** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -