?? tl_joy.h
字號:
/*
** thinlib (c) 2001 Matthew Conte (matt@conte.com)
**
**
** tl_joy.h
**
** DOS joystick reading defines / protos
**
** $Id: $
*/
#ifndef _TL_JOY_H_
#define _TL_JOY_H_
#define JOY_MAX_BUTTONS 4
typedef struct joy_s
{
int left, right, up, down;
int button[JOY_MAX_BUTTONS];
} joy_t;
extern void thin_joy_shutdown(void);
extern int thin_joy_init(void);
extern int thin_joy_read(joy_t *joy);
#endif /* !_TL_JOY_H_ */
/*
** $Log: $
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -