ctrl.h

来自「PSP YDICT ver0.3 改进的功能 1。在《牛津现代英汉双解词典》中」· C头文件 代码 · 共 33 行

H
33
字号
//
//	This program is free software; you can redistribute it and/or
//	modify it under the terms of the GNU General Public License
//
//	Copyright (c) 2005 ZYM <yanming.zhang@gmail.com>
//

#ifndef _CTRL_H_
#define _CTRL_H_

#define MAXANALOG_X	255
#define MAXANALOG_Y	255
#define ANALOG_IGNORE	40

#define REPEAT_TIME 0x40000

#define LASTINPUT_X_LEFT		1
#define LASTINPUT_X_RIGHT		2
#define LASTINPUT_Y_UP			3
#define LASTINPUT_Y_DOWN		4
#define LASTINPUT_ANALOGNULL	5
#define LASTINPUT_KEY			6

struct ydictctrl {
	unsigned int buttons;
	unsigned char x;
	unsigned char y;
};

int getcontrol(struct ydictctrl *yctrl);

#endif

⌨️ 快捷键说明

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